 |
helics
3.3.0
|
9 #include "basic_CoreTypes.hpp"
22 std::string_view pkey,
23 std::string_view ptype,
24 std::string_view punits):
31 const std::string
key;
37 bool only_update_on_change{
false};
46 bool forceChangeCheck);
55 void setProperty(int32_t option, int32_t value);
56 int32_t getProperty(int32_t option)
const;
constexpr Time timeZero
Definition: helicsTime.hpp:31
std::vector< GlobalHandle > subscribers
container for all the subscribers of a publication
Definition: PublicationInfo.hpp:30
Definition: SmallBuffer.hpp:24
const std::string units
the units of the publication data
Definition: PublicationInfo.hpp:33
base helics enumerations for C++ API's, a namespace wrapper for the definitions defined in helics_enu...
void assign(const void *start, const void *end)
Definition: SmallBuffer.hpp:177
Time minTimeGap
a time restriction on amount of publishing
Definition: PublicationInfo.hpp:41
TimeRepresentation< count_time< 9 > > Time
Definition: helicsTime.hpp:27
bool addSubscriber(GlobalHandle newSubscriber)
Definition: PublicationInfo.cpp:39
std::string_view to_string() const
Definition: SmallBuffer.hpp:225
PublicationInfo(GlobalHandle pid, std::string_view pkey, std::string_view ptype, std::string_view punits)
Definition: PublicationInfo.hpp:21
bool has_update
indicator that the publication has updates
Definition: PublicationInfo.hpp:36
@ CONNECTIONS
print summary+federate level connection information
Definition: logging.hpp:27
const std::string type
the type of the publication data
Definition: PublicationInfo.hpp:32
int32_t required_connections
the number of required connections 0 is no requirement
Definition: PublicationInfo.hpp:40
SmallBuffer data
the most recent publication data
Definition: PublicationInfo.hpp:34
const GlobalHandle id
the identifier for the containing federate
Definition: PublicationInfo.hpp:29
bool buffer_data
indicator that the publication should buffer data
Definition: PublicationInfo.hpp:39
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Definition: PublicationInfo.hpp:18
void removeSubscriber(GlobalHandle subscriberToRemove)
Definition: PublicationInfo.cpp:50
bool CheckSetValue(const char *dataToCheck, uint64_t len, Time currentTime, bool forceChangeCheck)
Definition: PublicationInfo.cpp:16
const std::string key
the key identifier for the publication
Definition: PublicationInfo.hpp:31
Time lastPublishTime
the time of the last publication
Definition: PublicationInfo.hpp:35
Definition: GlobalFederateId.hpp:144
bool required
indicator that it is required to be output someplace
Definition: PublicationInfo.hpp:38