 |
helics
2.8.1
|
9 #include "global_federate_id.hpp"
21 const std::string& pkey,
22 const std::string& ptype,
23 const std::string& punits):
30 const std::string
key;
35 bool only_update_on_change{
false};
std::string data
the most recent publication data
Definition: PublicationInfo.hpp:33
const std::string units
the units of the publication data
Definition: PublicationInfo.hpp:32
void removeSubscriber(global_handle subscriberToRemove)
Definition: PublicationInfo.cpp:31
bool addSubscriber(global_handle newSubscriber)
Definition: PublicationInfo.cpp:20
const global_handle id
the identifier for the containing federate
Definition: PublicationInfo.hpp:28
bool has_update
indicator that the publication has updates
Definition: PublicationInfo.hpp:34
Definition: global_federate_id.hpp:128
std::vector< global_handle > subscribers
container for all the subscribers of a publication
Definition: PublicationInfo.hpp:29
const std::string type
the type of the publication data
Definition: PublicationInfo.hpp:31
int32_t required_connections
the number of required connections 0 is no requirement
Definition: PublicationInfo.hpp:38
PublicationInfo(global_handle pid, const std::string &pkey, const std::string &ptype, const std::string &punits)
Definition: PublicationInfo.hpp:20
bool buffer_data
indicator that the publication should buffer data
Definition: PublicationInfo.hpp:37
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Definition: PublicationInfo.hpp:17
const std::string key
the key identifier for the publication
Definition: PublicationInfo.hpp:30
bool CheckSetValue(const char *dataToCheck, uint64_t len)
Definition: PublicationInfo.cpp:11
bool required
indicator that it is required to be output someplace
Definition: PublicationInfo.hpp:36