ThreadOperation Class Referenceabstract
interface for describing an operation to do for the WorkerThread More...
Public Member Functions | |
virtual void | run ()=0 |
run the operation | |
virtual void | stop ()=0 |
stop the operation | |
Detailed Description
interface for describing an operation to do for the WorkerThread
Definition at line 108 of file workerthread.h.
Member Function Documentation
|
pure virtual |
run the operation
- Note
- this is called inside the run loop of the WorkerThread, subclasses can implementes here the blocking code that do the job
|
pure virtual |
stop the operation
- Note
- this is called outside the WorkerThread, so the subclasses has to implements this method thread-safetly
The documentation for this class was generated from the following file:
- utilities/include/workerthread.h