 |
helics
2.8.1
|
9 #include "../common/GuardedTypes.hpp"
10 #include "basic_core_types.hpp"
28 const std::string
key;
33 std::atomic<int32_t> mAvailableMessages{0};
47 void addMessage(std::unique_ptr<Message> message);
const global_handle id
identifier for the handle
Definition: EndpointInfo.hpp:27
bool updateTimeUpTo(Time newTime)
Definition: EndpointInfo.cpp:17
int32_t queueSize(Time maxTime) const
Definition: EndpointInfo.cpp:130
Definition: EndpointInfo.hpp:19
TimeRepresentation< count_time< 9 > > Time
Definition: helics-time.hpp:27
EndpointInfo(global_handle handle, const std::string &key_, const std::string &type_)
Definition: EndpointInfo.hpp:22
int32_t queueSizeUpTo(Time maxTime) const
Definition: EndpointInfo.cpp:144
Definition: global_federate_id.hpp:128
std::unique_ptr< Message > getMessage(Time maxTime)
Definition: EndpointInfo.cpp:80
bool hasFilter
indicator that the message has a filter
Definition: EndpointInfo.hpp:36
const std::string key
name of the endpoint
Definition: EndpointInfo.hpp:28
void clearQueue()
Definition: EndpointInfo.cpp:119
const std::string type
type of the endpoint
Definition: EndpointInfo.hpp:29
Time firstMessageTime() const
Definition: EndpointInfo.cpp:99
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
void addMessage(std::unique_ptr< Message > message)
Definition: EndpointInfo.cpp:112
bool updateTimeNextIteration(Time newTime)
Definition: EndpointInfo.cpp:38
Definition: application_api/Federate.hpp:26
int32_t availableMessages() const
Definition: EndpointInfo.cpp:125
bool updateTimeInclusive(Time newTime)
Definition: EndpointInfo.cpp:59