helics 3.7.0
Loading...
Searching...
No Matches
FederateIdExtra.hpp
1/*
2Copyright (c) 2017-2026,
3Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Energy
4Innovation LLC. See the top-level NOTICE for additional details. All rights reserved.
5SPDX-License-Identifier: BSD-3-Clause
6*/
7
8#pragma once
9#include "GlobalFederateId.hpp"
10#include "gmlc/containers/MapTraits.hpp"
11
14template<>
15struct is_easily_hashable<helics::InterfaceHandle> {
16 static constexpr bool value = true;
17};
18
21template<>
22struct is_easily_hashable<helics::GlobalFederateId> {
23 static constexpr bool value = true;
24};
25
28template<>
29struct is_easily_hashable<helics::LocalFederateId> {
30 static constexpr bool value = true;
31};
32
35template<>
36struct is_easily_hashable<helics::GlobalBrokerId> {
37 static constexpr bool value = true;
38};
39
42template<>
43struct is_easily_hashable<helics::route_id> {
44 static constexpr bool value = true;
45};
46
49template<>
50struct is_easily_hashable<helics::GlobalHandle> {
51 static constexpr bool value = true;
52};
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14