Implements the simulation error event message data type.
More...
#include <error_message.h>
Implements the simulation error event message data type.
◆ ErrorEventMessage() [1/2]
| hgps::ErrorEventMessage::ErrorEventMessage |
( |
| ) |
|
|
delete |
◆ ErrorEventMessage() [2/2]
| hgps::ErrorEventMessage::ErrorEventMessage |
( |
std::string | sender, |
|
|
unsigned int | run, |
|
|
int | time, |
|
|
std::string | what ) |
|
noexcept |
Initialises a new instance of the ErrorEventMessage structure.
- Parameters
-
| sender | The sender identifier |
| run | Current simulation run number |
| time | Current simulation time |
| what | The associated error message |
◆ accept()
Double dispatch the message using a visitor implementation.
- Parameters
-
| visitor | The event message instance to accept |
Implements hgps::EventMessage.
◆ id()
| int hgps::ErrorEventMessage::id |
( |
| ) |
const |
|
overridevirtualnoexcept |
Gets the unique message type identifier.
- Returns
- The message type identifier
Implements hgps::EventMessage.
◆ to_string()
| std::string hgps::ErrorEventMessage::to_string |
( |
| ) |
const |
|
overridevirtual |
Create a string representation of this instance.
- Returns
- The string representation
Implements hgps::EventMessage.
◆ message
| const std::string hgps::ErrorEventMessage::message |
◆ model_time
| const int hgps::ErrorEventMessage::model_time {} |
The documentation for this struct was generated from the following files: