#include <events.h>
Public Member Functions | |
Event_Queue () | |
Constructor. | |
~Event_Queue () | |
Destructor. | |
Static Public Member Functions | |
static void | add (Base_Event *e) |
Add event to Queue. | |
static Ttype | now () |
Return current time. | |
static void | start () |
Start executing events. | |
static void | stop () |
Stop execution of events. | |
static void | clear () |
Remove all events. | |
Friends | |
class | Base_Signal |
A class for storing and executing events. Events can be added to the queue and when the start() is called all events will be executed. Observe that Events need to be created before they are added to the queue by calling an appropriate constructor. However, expired events are destroyed automatically (the destructor is called).