has a virtual run method. More...
#include <ao-scheduler.h>

Public Member Functions | |
| virtual bool | run (bool continuous)=0 |
| virtual bool | terminated ()=0 |
| Runnable (string name) | |
| virtual | ~Runnable () |
Public Attributes | |
| string | name |
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.
| Runnable::Runnable | ( | string | name | ) | [inline] |
| virtual Runnable::~Runnable | ( | ) | [inline, virtual] |
| virtual bool Runnable::run | ( | bool | continuous | ) | [pure virtual] |
Implemented in ActiveObject< message >, ActiveObject< ActiveExistenceScanner_msg_ * >, ActiveObject< ActiveSongCopier_msg_ * >, ActiveObject< ActiveIndexReader_msg_ * >, ActiveObject< ActiveFragmentPlayer_msg_ * >, ActiveObject< ActiveSpectrumPca_msg_ * >, ActiveObject< ActiveAoTracker_msg_ * >, ActiveObject< ActiveSomBeatGraph_msg_ * >, ActiveObject< ActiveFragmentCreator_msg_ * >, and ActiveObject< ActiveClusterer_msg_ * >.
| virtual bool Runnable::terminated | ( | ) | [pure virtual] |
should return true when the runnable has been terminated.
Implemented in ActiveObject< message >, ActiveObject< ActiveExistenceScanner_msg_ * >, ActiveObject< ActiveSongCopier_msg_ * >, ActiveObject< ActiveIndexReader_msg_ * >, ActiveObject< ActiveFragmentPlayer_msg_ * >, ActiveObject< ActiveSpectrumPca_msg_ * >, ActiveObject< ActiveAoTracker_msg_ * >, ActiveObject< ActiveSomBeatGraph_msg_ * >, ActiveObject< ActiveFragmentCreator_msg_ * >, and ActiveObject< ActiveClusterer_msg_ * >.
| string Runnable::name |
name of the runnable object
Referenced by ActiveObject< ActiveClusterer_msg_ * >::deactivate(), ActiveObject< ActiveClusterer_msg_ * >::handle(), and ActiveObject< ActiveClusterer_msg_ * >::~ActiveObject().
1.6.2