#include <misc.h>
Public Member Functions | |
bool | starting (Runlist *list) |
Start the object against a run list. | |
void | stoping (void) |
Stop the object, called when stopping or ready completes. | |
Protected Member Functions | |
Runable () | |
virtual | ~Runable () |
virtual void | ready (void)=0 |
Method handler that is invoked when a wait-listed object becomes ready to run. | |
Friends | |
class | Runlist |
ost::Runable::Runable | ( | ) | [protected] |
virtual ost::Runable::~Runable | ( | ) | [protected, virtual] |
virtual void ost::Runable::ready | ( | void | ) | [protected, pure virtual] |
Method handler that is invoked when a wait-listed object becomes ready to run.
bool ost::Runable::starting | ( | Runlist * | list | ) |
Start the object against a run list.
list | to start under. |
void ost::Runable::stoping | ( | void | ) |
Stop the object, called when stopping or ready completes.
May also be used for a task that has not yet started to remove it from the wait list.
friend class Runlist [friend] |