Scopira  20080306
scopira::core::sidekick_runner Class Reference

#include <sidekickthread.h>

Inheritance diagram for scopira::core::sidekick_runner:
scopira::tool::runnable_i scopira::core::sidekick_queue_i scopira::tool::object

Public Member Functions

 sidekick_runner (void)
 ctor
 
virtual void run (void)
 the run implementation
 
virtual void notify_stop (void)
 called by sidekick_thread's dtor
 
- 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
 

Protected Member Functions

virtual void enqueue_sidekick (sidekick_i *t)
 actuall driver
 
virtual bool is_sidekick_running (void)
 additional driver method
 
- Protected Member Functions inherited from scopira::core::sidekick_queue_i
 sidekick_queue_i (void)
 ctor (sets up instance)
 
virtual ~sidekick_queue_i ()
 ctor (sets up instance)
 
sidekick_reactor_i *& get_reactor (sidekick_i &sk)
 helper to get around friend functionenss
 
- Protected Member Functions inherited from scopira::tool::object
 object (void)
 
 object (bool neverusecounter)
 

Additional Inherited Members

- Static Protected Attributes inherited from scopira::core::sidekick_queue_i
static sidekick_queue_idm_instance
 static instance variable
 

Detailed Description

This is a runner-sigleton that can process events queued by equeue_sidekick, often in lue of sidekick_lab_loop. You can run this with your threads directly, or just use the simple sidekick_thread which is simply a thread+this object.

Author
Aleksander Demko

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