Runnable Class Reference

Encapsulates a runnable task. More...

#include <yateclass.h>

Inheritance diagram for Runnable:
Thread Client Router RTPGroup

List of all members.

Public Member Functions

virtual void run ()=0
virtual ~Runnable ()

Detailed Description

Encapsulates a runnable task.

This class holds the action to execute a certain task, usually in a different execution thread.


Constructor & Destructor Documentation

virtual ~Runnable (  )  [virtual]

Do-nothing destructor, placed here just to shut up GCC 4+


Member Function Documentation

virtual void run (  )  [pure virtual]

This method is called in another thread to do the actual job. When it returns the job or thread terminates.

Implemented in Router, Client, and RTPGroup.


The documentation for this class was generated from the following file:
Generated on Thu Apr 8 18:22:36 2010 for Yate by  doxygen 1.6.3