9 #include "basic_CoreTypes.hpp"
28 std::string_view key_name,
29 std::string_view type_name,
30 std::string_view unit_name):
56 const std::string
key;
66 void setTag(std::string_view tag, std::string_view value);
68 const std::string&
getTag(std::string_view tag)
const;
70 const std::pair<std::string, std::string>&
getTagByIndex(
size_t index)
const
78 std::vector<std::pair<std::string, std::string>> tags;
79 static const std::string emptyString;
Definition: BasicHandleInfo.hpp:20
const std::string key
the name of the handle
Definition: BasicHandleInfo.hpp:56
const std::string & getTag(std::string_view tag) const
Definition: BasicHandleInfo.cpp:26
const std::string type
the type of data used by the handle
Definition: BasicHandleInfo.hpp:57
GlobalFederateId getFederateId() const
Definition: BasicHandleInfo.hpp:64
bool used
Definition: BasicHandleInfo.hpp:52
auto tagCount() const
Definition: BasicHandleInfo.hpp:75
const std::string units
the units associated with the handle
Definition: BasicHandleInfo.hpp:58
const GlobalHandle handle
the global federate id for the creator of the handle
Definition: BasicHandleInfo.hpp:49
void setTag(std::string_view tag, std::string_view value)
Definition: BasicHandleInfo.cpp:15
const std::string & type_in
the input type of a filter
Definition: BasicHandleInfo.hpp:59
const std::pair< std::string, std::string > & getTagByIndex(size_t index) const
Definition: BasicHandleInfo.hpp:70
BasicHandleInfo() noexcept
Definition: BasicHandleInfo.hpp:23
BasicHandleInfo(GlobalFederateId federate_id, InterfaceHandle handle_id, InterfaceType type_of_handle, std::string_view key_name, std::string_view type_name, std::string_view unit_name)
Definition: BasicHandleInfo.hpp:25
uint16_t flags
flags corresponding to the flags used in ActionMessages +some extra ones
Definition: BasicHandleInfo.hpp:54
const InterfaceType handleType
the type of the handle
Definition: BasicHandleInfo.hpp:51
LocalFederateId local_fed_id
the local federate id of the handle
Definition: BasicHandleInfo.hpp:50
const std::string & type_out
the output type of a filter
Definition: BasicHandleInfo.hpp:60
InterfaceHandle getInterfaceHandle() const
Definition: BasicHandleInfo.hpp:62
Definition: GlobalFederateId.hpp:75
Definition: GlobalFederateId.hpp:147
GlobalFederateId fed_id
the federate id component
Definition: GlobalFederateId.hpp:149
InterfaceHandle handle
the interface handle component
Definition: GlobalFederateId.hpp:150
Definition: LocalFederateId.hpp:65
Definition: LocalFederateId.hpp:22
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
InterfaceType
Definition: CoreTypes.hpp:111