VCF::Runnable Class Reference
A class that represents a single executable task. More...
#include <vcf/FoundationKit/Runnable.h>
Inheritance diagram for VCF::Runnable:

Public Member Functions | |
| virtual | ~Runnable () |
| virtual bool | run ()=0 |
| Executes the runnable code. | |
| virtual void | stop ()=0 |
| stops the task from running. | |
Detailed Description
A class that represents a single executable task.The Runnable class indicates that it may be "run' (hence the run() method) and stopped (hence the "stop" ) method.
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
Executes the runnable code.
Implemented in VCF::Thread, and VCFNet::SocketListeningLoop. |
|
|
stops the task from running. Should allow the implementer to gracefully finish whatever they were doing and exit the run() method as soon as possible. Implemented in VCF::Thread. |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/Runnable.h
