20 int run() const noexcept {
return run_; }
24 int time() const noexcept {
return time_; }
54 const PayloadType &
data() const noexcept {
return data_; }
Implements a synchronisation message with payload.
Definition: sync_message.h:43
SyncDataMessage(const int run, const int time, PayloadType &&data)
Initialises a new instance of the SyncMessage class.
Definition: sync_message.h:49
const PayloadType & data() const noexcept
Gets the message payload data.
Definition: sync_message.h:54
Scenario data synchronisation message data type.
Definition: sync_message.h:6
SyncMessage & operator=(const SyncMessage &)=delete
SyncMessage(SyncMessage &&other)=default
Moves the target of other to the target of *this.
int time() const noexcept
Gets the Simulation time.
Definition: sync_message.h:24
virtual ~SyncMessage()=default
Destroys a SyncMessage instance.
SyncMessage(const int run, const int time)
Initialises a new instance of the SyncMessage class.
Definition: sync_message.h:11
int run() const noexcept
Gets the Simulation run number.
Definition: sync_message.h:20
SyncMessage(const SyncMessage &)=delete
SyncMessage & operator=(SyncMessage &&other)=default
Moves the target of other to *this.
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8
Global namespace.
Definition: jsonparser.h:88