Runnable Class Reference

has a virtual run method. More...

#include <ao-scheduler.h>

Inherited by ActiveObject< message > [protected], ActiveObject< ActiveAoTracker_msg_ * > [protected], ActiveObject< ActiveDemoReceiver_msg_ * > [protected], and ActiveObject< ActiveDemoSender_msg_ * > [protected].

List of all members.

Public Member Functions

virtual bool run (bool continuous)=0
virtual bool terminated ()=0
 Runnable (string name)
virtual ~Runnable ()

Public Attributes

string name

Detailed Description

has a virtual run method.

A runnable class has a name and a run method. Is is used in the scheduler logic to actually activate objects when necessary. It is further used to detect whether the runnable can actually still run.

Definition at line 33 of file ao-scheduler.h.

Constructor & Destructor Documentation

Runnable::Runnable ( string  name  )  [inline]

Definition at line 48 of file ao-scheduler.h.

virtual Runnable::~Runnable (  )  [inline, virtual]

Definition at line 51 of file ao-scheduler.h.

Member Function Documentation

virtual bool Runnable::run ( bool  continuous  )  [pure virtual]

virtual bool Runnable::terminated (  )  [pure virtual]

Member Data Documentation

name of the runnable object

Definition at line 39 of file ao-scheduler.h.

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

Generated on Sun Apr 4 23:26:09 2010 for Active Objects by  doxygen 1.5.9