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