clan::KeepAliveObject Class Referenceabstract

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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ KeepAliveObject()

clan::KeepAliveObject::KeepAliveObject ( )

Registers a keep alive object.

◆ ~KeepAliveObject()

virtual clan::KeepAliveObject::~KeepAliveObject ( )
virtual

Unregisters a keep alive object.

Member Function Documentation

◆ process()

virtual void clan::KeepAliveObject::process ( )
pure virtual

Called by KeepAlive::process when the wakeup event is flagged.

◆ set_wakeup_event()

void clan::KeepAliveObject::set_wakeup_event ( )

Informs the KeepAlive application loop this object got data to process.

Friends And Related Function Documentation

◆ KeepAlive

friend class KeepAlive
friend

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