17 std::queue<std::string> tokenSplit(std::string command);
19 void onNotifyNow(std::shared_ptr<Events::Event> event);
virtual ~DebugParser()=default
Destroys the object.
void handleQueuedEvent(std::shared_ptr< Events::Event > event)
HandleQueuedEvent allows derived classes to define behaviour for when queuedEvents are received...
Definition: debug_parser.cpp:21
Class for a subject that an observer would observe for changes.
Definition: subject.h:13
Interface to be notified of an item's changes.
Definition: observer.h:13
DebugParser()=default
DebugParser constructor.
void onNotifyNow(std::shared_ptr< Events::Event > event)
When receiving an event that is immediate, onNotifyNow is used. It acts as an interrupt to make sure ...
Definition: debug_parser.cpp:17
Class for debug parser.
Definition: debug_parser.h:15
void handleEvents()
Handles queued debug parser events.
Definition: debug_parser.cpp:31
void parseCommand(const std::string &command)
Parses a debug command.
Definition: debug_parser.cpp:46