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

virtual void run ( )
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
virtual void stop ( )
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: