LogCabin
|
Registers a Timer handler to be monitored by the Event::Loop. More...
#include <Timer.h>
Public Member Functions | |
Monitor (Event::Loop &eventLoop, Timer &timer) | |
See File::Monitor::Monitor. | |
~Monitor () | |
See File::Monitor::~Monitor. |
Registers a Timer handler to be monitored by the Event::Loop.
Once this is constructed, the Event::Loop will call the Timer's event handler appropriately.
This object must be destroyed or disableForever() called BEFORE the Timer object can be destroyed safely.
LogCabin::Event::Timer::Monitor::Monitor | ( | Event::Loop & | eventLoop, |
Timer & | timer | ||
) |
LogCabin::Event::Timer::Monitor::~Monitor | ( | ) | [virtual] |
Reimplemented from LogCabin::Event::File::Monitor.