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