37 std::string msg)
noexcept;
48 int id() const noexcept override;
Event message types visitor interface (double dispatcher).
Definition event_visitor.h:11
Internal details namespace for private data types and functions.
Definition program.cpp:263
Top-level namespace for Health-GPS Console host application.
Definition command_options.cpp:9
ModelAction
Enumerates simulation model actions.
Definition info_message.h:7
@ update
Simulation time has updated, time = time + 1.
Definition info_message.h:12
@ start
Simulation has started, time = start.
Definition info_message.h:9
@ stop
Simulation has stopped, time = end.
Definition info_message.h:15
Global namespace.
Definition column_iterator.h:123
const std::string message
Gets the notification message.
Definition info_message.h:46
const ModelAction model_action
Gets the source action value.
Definition info_message.h:40
int id() const noexcept override
Gets the unique message type identifier.
Definition info_message.cpp:17
void accept(EventMessageVisitor &visitor) const override
Double dispatch the message using a visitor implementation.
Definition info_message.cpp:32
InfoEventMessage()=delete
const int model_time
Gets the associated Simulation time.
Definition info_message.h:43
std::string to_string() const override
Create a string representation of this instance.
Definition info_message.cpp:19