A container for objects that can be queued against a runlist.
More...
#include <misc.h>
Collaboration diagram for Runable:
Public Member Functions
Start the object against a run list.
More...
Stop the object, called when stopping or ready completes.
More...
Protected Member Functions
virtual void
ready (void)=0
Method handler that is invoked when a wait-listed object becomes ready to run.
More...
Private Attributes
Friends
Detailed Description
Constructor & Destructor Documentation
Runable::Runable
(
)
protected
virtual Runable::~Runable
(
)
protectedvirtual
Member Function Documentation
virtual void Runable::ready
(
void
)
protectedpure virtual
Method handler that is invoked when a wait-listed object becomes ready to run.
bool Runable::starting
(
Runlist *
list )
Start the object against a run list.
- Returns
- true if immediately available to run.
- Parameters
-
list to start under.
void 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.
Friends And Related Function Documentation
Field Documentation
The documentation for this class was generated from the following file: