Scopira  20080306
scopira::tool::job_i Class Referenceabstract

#include <thread_pthreads.h>

Inheritance diagram for scopira::tool::job_i:
scopira::tool::object scopira::tool::object scopira::tool::thread scopira::tool::thread

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_iprint (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)
 

Detailed Description

A controllable, threaded, "task".

Author
Aleksander Demko

The documentation for this class was generated from the following files: