|
Health-GPS
1.2.2.0
Global Health Policy Simulation model (Health-GPS)
|
Implements a synchronisation message with payload. More...
#include <sync_message.h>
Public Member Functions | |
| SyncDataMessage (const int run, const int time, PayloadType &&data) | |
| Initialises a new instance of the SyncMessage class. More... | |
| const PayloadType & | data () const noexcept |
| Gets the message payload data. More... | |
Public Member Functions inherited from hgps::SyncMessage | |
| SyncMessage (const int run, const int time) | |
| Initialises a new instance of the SyncMessage class. More... | |
| SyncMessage (const SyncMessage &)=delete | |
| SyncMessage & | operator= (const SyncMessage &)=delete |
| virtual | ~SyncMessage ()=default |
| Destroys a SyncMessage instance. More... | |
| int | run () const noexcept |
| Gets the Simulation run number. More... | |
| int | time () const noexcept |
| Gets the Simulation time. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from hgps::SyncMessage | |
| SyncMessage (SyncMessage &&other)=default | |
| Moves the target of other to the target of *this. More... | |
| SyncMessage & | operator= (SyncMessage &&other)=default |
| Moves the target of other to *this. More... | |
Implements a synchronisation message with payload.
| PayloadType | The payload type |
|
inlineexplicit |
Initialises a new instance of the SyncMessage class.
| run | Simulation run number |
| time | Simulation time |
| data | The payload data instance |
|
inlinenoexcept |
Gets the message payload data.