DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
|
Class to extend for all other classes that need to respond to events For example: Class <MyClass> : public EventListener () {} The recommended approach is to implement a switch/case in the onEvent() implementation to handle valid event types. More...
#include <EventListener.h>
Public Member Functions | |
virtual void | onEvent (Event &event)=0 |
Virtual method to implement in the inheriting class to respond to events. | |
Class to extend for all other classes that need to respond to events For example: Class <MyClass> : public EventListener () {} The recommended approach is to implement a switch/case in the onEvent() implementation to handle valid event types.
|
pure virtual |
Virtual method to implement in the inheriting class to respond to events.
event | The event to respond to |
Implemented in AppOrchestrator.