 |
helics
3.3.0
|
9 #include "basic_CoreTypes.hpp"
28 std::string_view key_name,
29 std::string_view type_name,
30 std::string_view unit_name):
31 handle{federate_id, handle_id},
45 const std::string
key;
55 void setTag(std::string_view tag, std::string_view value);
57 const std::string&
getTag(std::string_view tag)
const;
59 const std::pair<std::string, std::string>&
getTagByIndex(
size_t index)
const
67 std::vector<std::pair<std::string, std::string>> tags;
68 static const std::string emptyString;
InterfaceType
Definition: CoreTypes.hpp:99
const std::string & type_out
the output type of a filter
Definition: BasicHandleInfo.hpp:49
Definition: LocalFederateId.hpp:65
Definition: GlobalFederateId.hpp:72
InterfaceHandle handle
the interface handle component
Definition: GlobalFederateId.hpp:147
const GlobalHandle handle
the global federate id for the creator of the handle
Definition: BasicHandleInfo.hpp:38
GlobalFederateId getFederateId() const
Definition: BasicHandleInfo.hpp:53
Definition: BasicHandleInfo.hpp:20
const std::string & type_in
the input type of a filter
Definition: BasicHandleInfo.hpp:48
void setTag(std::string_view tag, std::string_view value)
Definition: BasicHandleInfo.cpp:15
InterfaceHandle getInterfaceHandle() const
Definition: BasicHandleInfo.hpp:51
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
LocalFederateId local_fed_id
the local federate id of the handle
Definition: BasicHandleInfo.hpp:39
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:43
const InterfaceType handleType
the type of the handle
Definition: BasicHandleInfo.hpp:40
Definition: LocalFederateId.hpp:22
const std::string & getTag(std::string_view tag) const
Definition: BasicHandleInfo.cpp:26
BasicHandleInfo() noexcept
Definition: BasicHandleInfo.hpp:23
const std::string type
the type of data used by the handle
Definition: BasicHandleInfo.hpp:46
const std::string units
the units associated with the handle
Definition: BasicHandleInfo.hpp:47
Definition: GlobalFederateId.hpp:144
bool used
Definition: BasicHandleInfo.hpp:41
const std::pair< std::string, std::string > & getTagByIndex(size_t index) const
Definition: BasicHandleInfo.hpp:59
const std::string key
the name of the handle
Definition: BasicHandleInfo.hpp:45
auto tagCount() const
Definition: BasicHandleInfo.hpp:64
GlobalFederateId fed_id
the federate id component
Definition: GlobalFederateId.hpp:146