DCC-EX Simple Throttle
Simple throttle for a DCC-EX CommandStation
Loading...
Searching...
No Matches
Classes
/home/runner/work/DCCEXSimpleThrottle/DCCEXSimpleThrottle/EventManager.h File Reference
#include "EventListener.h"
#include "EventStructure.h"
Include dependency graph for EventManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EventManager
 Class to centrally manage all events for the application Exposes methods to register subscribers that need to respond to events, and to publish events Dynamically manages a linked list of subscribers to be notified when a relevant event is published Subscribers must extend the EventListener class and implement the onEvent() virtual method provided. More...
 
struct  EventManager::EventSubscriber
 EventSubscriber structure to maintain the linked list of subscribers. More...