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