9#include "EndpointInfo.hpp"
10#include "InputInfo.hpp"
11#include "PublicationInfo.hpp"
12#include "basic_CoreTypes.hpp"
26 id(gid), key(key_), type(type_)
36 std::string_view key_,
37 std::string_view endpointType,
38 std::string_view units):
39 id(handle),
key(key_), pub(handle, key_,
"any", units), ipt(handle, key_,
"any", units),
40 ept(handle, key_, endpointType)
45 const std::string
key;
48 std::shared_ptr<TranslatorOperator>
tranOp;
57 InputInfo* getInputInfo() {
return &ipt; }
58 EndpointInfo* getEndpointInfo() {
return &ept; }
Definition EndpointInfo.hpp:32
Definition GlobalFederateId.hpp:147
Definition PublicationInfo.hpp:27
Definition TranslatorInfo.hpp:32
TranslatorInfo(GlobalHandle handle, std::string_view key_, std::string_view endpointType, std::string_view units)
Definition TranslatorInfo.hpp:35
const GlobalHandle id
id of the translator
Definition TranslatorInfo.hpp:43
uint16_t flags
flags for the translator
Definition TranslatorInfo.hpp:46
const std::string key
the identifier of the translator
Definition TranslatorInfo.hpp:45
std::shared_ptr< TranslatorOperator > tranOp
the callback operation of the translator
Definition TranslatorInfo.hpp:48
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition AsyncFedCallInfo.hpp:14