Go to the documentation of this file.
26 #ifndef TIME_EVENT_HANDLER_H__
27 #define TIME_EVENT_HANDLER_H__
73 vector<event*> Events;
76 #endif // TIME_EVENT_HANDLER_H__
Declares the base class for event handlers.
void register_event(event *evnt)
Register a time event with the event handler.
This class keeps track of time events, i.e.
This is the base class for actual event handlers.
void remove_event(event *evnt)
Removes the given event from the event handler.
void raise_event(const event *evnt)
Raise one or more events in case the given time matches their "alarm" time.