ClanLib  2.3.7
Public Member Functions | Friends | List of all members
CL_KeepAliveObject Class Referenceabstract

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. More...
 
virtual ~CL_KeepAliveObject ()
 Unregisters a keep alive object. More...
 
virtual void process ()=0
 Called by CL_KeepAlive::process when the wakeup event is flagged. More...
 
void set_wakeup_event ()
 Informs the CL_KeepAlive application loop this object got data to process. More...
 

Friends

class CL_KeepAlive
 

Detailed Description

Interface for objects participating in the thread keep-alive processing loop.

Constructor & Destructor Documentation

CL_KeepAliveObject::CL_KeepAliveObject ( )

Registers a keep alive object.

virtual CL_KeepAliveObject::~CL_KeepAliveObject ( )
virtual

Unregisters a keep alive object.

Member Function Documentation

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.

Friends And Related Function Documentation

friend class CL_KeepAlive
friend

The documentation for this class was generated from the following file: