A container for objects that can be queued against a runlist.
More...
#include <misc.h>
|
bool | starting (Runlist *list) |
| Start the object against a run list.
|
|
void | stoping (void) |
| Stop the object, called when stopping or ready completes.
|
|
|
| Runable () |
|
virtual | ~Runable () |
|
virtual void | ready (void)=0 |
| Method handler that is invoked when a wait-listed object becomes ready to run.
|
|
A container for objects that can be queued against a runlist.
- Author
- David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m
runable object with notify when ready.
◆ Runable()
ost::Runable::Runable |
( |
| ) |
|
|
protected |
◆ ~Runable()
virtual ost::Runable::~Runable |
( |
| ) |
|
|
protectedvirtual |
◆ ready()
virtual void ost::Runable::ready |
( |
void |
| ) |
|
|
protectedpure virtual |
Method handler that is invoked when a wait-listed object becomes ready to run.
◆ starting()
bool ost::Runable::starting |
( |
Runlist * |
list | ) |
|
Start the object against a run list.
- Returns
- true if immediately available to run.
- Parameters
-
◆ stoping()
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.
◆ Runlist
The documentation for this class was generated from the following file: