 |
helics
3.0.1
|
9 #include "basic_CoreTypes.hpp"
38 const std::string& key_name,
39 const std::string& type_name,
40 const std::string& unit_name):
41 handle{federate_id, handle_id},
58 const std::string
key;
68 void setTag(
const std::string& tag,
const std::string& value);
70 const std::string&
getTag(
const std::string& tag)
const;
72 const std::pair<std::string, std::string>&
getTagByIndex(
size_t index)
const
80 std::vector<std::pair<std::string, std::string>> tags;
@ extra_flag3
extra flag
Definition: flagOperations.hpp:31
const std::string & getTag(const std::string &tag) const
Definition: BasicHandleInfo.cpp:25
InterfaceType
Definition: CoreTypes.hpp:96
const std::string & type_out
the output type of a filter
Definition: BasicHandleInfo.hpp:62
Definition: LocalFederateId.hpp:65
@ extra_flag2
extra flag
Definition: flagOperations.hpp:27
Definition: GlobalFederateId.hpp:68
handle_flag_definitions
Definition: BasicHandleInfo.hpp:19
InterfaceHandle handle
the interface handle component
Definition: GlobalFederateId.hpp:131
const GlobalHandle handle
the global federate id for the creator of the handle
Definition: BasicHandleInfo.hpp:51
@ has_source_filter_flag
indicator that an endpoint or message has a source filter
Definition: BasicHandleInfo.hpp:21
GlobalFederateId getFederateId() const
Definition: BasicHandleInfo.hpp:66
@ extra_flag1
extra flag
Definition: flagOperations.hpp:23
Definition: BasicHandleInfo.hpp:30
const std::string & type_in
the input type of a filter
Definition: BasicHandleInfo.hpp:61
void setTag(const std::string &tag, const std::string &value)
Definition: BasicHandleInfo.cpp:12
InterfaceHandle getInterfaceHandle() const
Definition: BasicHandleInfo.hpp:64
@ has_non_cloning_dest_filter_flag
Definition: BasicHandleInfo.hpp:25
LocalFederateId local_fed_id
the local federate id of the handle
Definition: BasicHandleInfo.hpp:52
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
uint16_t flags
flags corresponding to the flags used in ActionMessages +some extra ones
Definition: BasicHandleInfo.hpp:55
@ extra_flag4
extra flag
Definition: flagOperations.hpp:32
const InterfaceType handleType
the type of the handle
Definition: BasicHandleInfo.hpp:53
Definition: LocalFederateId.hpp:22
BasicHandleInfo() noexcept
Definition: BasicHandleInfo.hpp:33
const std::string type
the type of data used by the handle
Definition: BasicHandleInfo.hpp:59
const std::string units
the units associated with the handle
Definition: BasicHandleInfo.hpp:60
Definition: GlobalFederateId.hpp:128
bool used
indicator that the handle is being used to link with another federate
Definition: BasicHandleInfo.hpp:54
const std::pair< std::string, std::string > & getTagByIndex(size_t index) const
Definition: BasicHandleInfo.hpp:72
BasicHandleInfo(GlobalFederateId federate_id, InterfaceHandle handle_id, InterfaceType type_of_handle, const std::string &key_name, const std::string &type_name, const std::string &unit_name)
Definition: BasicHandleInfo.hpp:35
const std::string key
the name of the handle
Definition: BasicHandleInfo.hpp:58
auto tagCount() const
Definition: BasicHandleInfo.hpp:77
GlobalFederateId fed_id
the federate id component
Definition: GlobalFederateId.hpp:130
@ has_dest_filter_flag
indicator that an endpoint or message has a destination filter
Definition: BasicHandleInfo.hpp:23