 |
helics
3.0.1
|
9 #include "GlobalFederateId.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::vector< GlobalHandle > subscribers
container for all the subscribers of a publication
Definition: PublicationInfo.hpp:29
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
bool addSubscriber(GlobalHandle newSubscriber)
Definition: PublicationInfo.cpp:23
bool has_update
indicator that the publication has updates
Definition: PublicationInfo.hpp:34
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
const GlobalHandle id
the identifier for the containing federate
Definition: PublicationInfo.hpp:28
bool buffer_data
indicator that the publication should buffer data
Definition: PublicationInfo.hpp:37
PublicationInfo(GlobalHandle pid, const std::string &pkey, const std::string &ptype, const std::string &punits)
Definition: PublicationInfo.hpp:20
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
void removeSubscriber(GlobalHandle subscriberToRemove)
Definition: PublicationInfo.cpp:34
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:14
Definition: GlobalFederateId.hpp:128
bool required
indicator that it is required to be output someplace
Definition: PublicationInfo.hpp:36