Holds a queue of Event objects.
#include <nrg_event.h>
Public Member Functions | |
EventQueue () | |
Default Constructor. | |
void | pushEvent (const Event &e) |
Add an event to the end of the queue. | |
bool | pollEvent (Event &e) |
Place the Event at the head of the queue into e - return true if this happened or false if the queue is empty. | |
void | clear () |
Removes all Events from the queue. | |