1 #ifndef DEBUG_COMMAND_EVENT_H
2 #define DEBUG_COMMAND_EVENT_H
13 std::string debug_command;
28 static std::shared_ptr<DebugCommandEvent>
create(
const std::string debug_command) {
return std::make_shared<DebugCommandEvent>(debug_command); }
Class for event.
Definition: event.h:10
static std::shared_ptr< DebugCommandEvent > create(const std::string debug_command)
Factory function.
Definition: debug_command_event.h:28
EventType
Event type enum that is used when passing events.
Definition: event_type.h:12
DebugCommandEvent(const std::string debug_command)
DebugCommandEvent constructor.
Definition: debug_command_event.h:20
std::string getDebugCommand() const noexcept
Gets the debug command.
Definition: debug_command_event.h:34
Definition: event_type.h:34
Event(const EventType &type)
Event constructor.
Definition: event.h:21
Class for debug command event.
Definition: debug_command_event.h:11