Scopira
20080306
|
#include <thread_pthreads.h>
Public Member Functions | |
virtual void | start (void)=0 |
starts the job | |
virtual void | notify_stop (void)=0 |
tells the job to try to stop | |
virtual void | wait_stop (void)=0 |
this blocks until the job stops | |
virtual bool | is_running (void) const =0 |
return if the job is running | |
virtual void | start (void)=0 |
starts the job | |
virtual void | notify_stop (void)=0 |
tells the job to try to stop | |
virtual void | wait_stop (void)=0 |
this blocks until the job stops | |
virtual bool | is_running (void) const =0 |
return if the job is running | |
Public Member Functions inherited from scopira::tool::object | |
virtual | ~object () |
int | add_ref (void) const |
bool | sub_ref (void) const |
void | auto_ref (void) const |
int | current_ref (void) const |
virtual scopira::tool::oflow_i & | print (scopira::tool::oflow_i &o) const |
virtual bool | load (scopira::tool::iobjflow_i &in) |
virtual void | save (scopira::tool::oobjflow_i &out) const |
bool | is_alive_object (void) const |
bool | is_dead_object (void) const |
Additional Inherited Members | |
Protected Member Functions inherited from scopira::tool::object | |
object (void) | |
object (bool neverusecounter) | |
A controllable, threaded, "task".