![]() |
helics
2.8.1
|
#include <BasicHandleInfo.hpp>
Public Member Functions | |
| BasicHandleInfo () noexcept | |
| BasicHandleInfo (global_federate_id federate_id, interface_handle handle_id, handle_type type_of_handle, const std::string &key_name, const std::string &type_name, const std::string &unit_name) | |
| interface_handle | getInterfaceHandle () const |
| global_federate_id | getFederateId () const |
| void | setInfoField (std::string &info) |
Public Attributes | |
| const global_handle | handle {} |
| the global federate id for the creator of the handle | |
| local_federate_id | local_fed_id {} |
| the local federate id of the handle | |
| const handle_type | handleType {handle_type::unknown} |
| the type of the handle | |
| bool | used {false} |
| indicator that the handle is being used to link with another federate | |
| uint16_t | flags |
| flags corresponding to the flags used in ActionMessages +some extra ones More... | |
| const std::string | key |
| the name of the handle | |
| const std::string | type |
| the type of data used by the handle | |
| const std::string | units |
| the units associated with the handle | |
| std::string | interface_info |
| storage for a user info string | |
| const std::string & | type_in |
| the input type of a filter | |
| const std::string & | type_out |
| the output type of a filter | |
class defining and capturing basic information about a handle
|
inlinenoexcept |
default constructor
|
inline |
construct from the data
|
inline |
extract a global federate id
References helics::global_handle::fed_id, and handle.
Referenced by helics::FilterFederate::destinationProcessMessage(), and helics::FilterFederate::processFilterReturn().
|
inline |
get the interface handle information
References handle, and helics::global_handle::handle.
Referenced by helics::FilterFederate::destinationProcessMessage().
|
inline |
set the user level information field
References interface_info.
| uint16_t helics::BasicHandleInfo::flags |
flags corresponding to the flags used in ActionMessages +some extra ones
1.8.17