This singleton manages all the timers that have been posted in the application. More...
#include <ilserver/timer.h>
Protected Member Functions | |
virtual void | triggerTimer (IlsTimer &t) |
Called by the timer manager thread for each timer that must be triggered at the current time. More... | |
This singleton manages all the timers that have been posted in the application.
Library: server
and mvcomp
It creates a specific thread to manage all timers. By default, timer callback functions are triggered from that thread. This behavior can be overriden in subclasses. Specifically, it is overriden by IlsTcpTimerManager
from MvTCP library.
stop() method must be called in the destructor of a derived class.
To create a subclass of IlsTimerManager
, install an IlsTimerManagerFactory
.
IlsTimer
, IlsTimerManagerFactory
.
|
protectedvirtual |
Called by the timer manager thread for each timer that must be triggered at the current time.
By default, it calls the timer callback, but this behavior can be overriden.
Reimplemented in IlsTcpTimerManager.