TimerQueue

TimerQueue class

Queue that handles Timer objects. This is just an implementation. Timer objects register there by themselves, you don’t have to do so to use them - use Timer class API instead. This is a singleton type with memory management done by access function(s). You should never create instances of it directly.

class TimerQueue

Methods

MethodDescription
bool Add(Timer *)Registers timer in queue.
bool Delete(Timer *)Deletes timer from queue.
static TimerQueue& GetInstance()Implementation singleton.
static void JoinWorkerThread()Joins worker thread. Waits infinitely if required.
void operator=(const TimerQueue&)No copying.
TimerQueue(const TimerQueue&)No copying.

See Also