Interface for objects participating in the thread keep-alive processing loop. More...
#include <keep_alive.h>
Public Member Functions | |
KeepAliveObject () | |
Registers a keep alive object. More... | |
virtual | ~KeepAliveObject () |
Unregisters a keep alive object. More... | |
virtual void | process ()=0 |
Called by KeepAlive::process when the wakeup event is flagged. More... | |
void | set_wakeup_event () |
Informs the KeepAlive application loop this object got data to process. More... | |
Friends | |
class | KeepAlive |
Interface for objects participating in the thread keep-alive processing loop.
clan::KeepAliveObject::KeepAliveObject | ( | ) |
Registers a keep alive object.
|
virtual |
Unregisters a keep alive object.
|
pure virtual |
Called by KeepAlive::process when the wakeup event is flagged.
void clan::KeepAliveObject::set_wakeup_event | ( | ) |
Informs the KeepAlive application loop this object got data to process.
|
friend |