Runnable Class Reference

has a virtual run method. More...

#include <ao-scheduler.h>

Inheritance diagram for Runnable:
Inheritance graph
[legend]

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.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2