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