Scopira  20080306
scopira::core::sidekick_i Class Reference

#include <sidekick.h>

Inheritance diagram for scopira::core::sidekick_i:
scopira::tool::object scopira::tool::runnable_i

Protected Member Functions

 sidekick_i (void)
 ctor
 
void notify_reactors (void)
 
- Protected Member Functions inherited from scopira::tool::object
 object (void)
 
 object (bool neverusecounter)
 

Friends

class scopira::core::sidekick_queue_i
 
void scopira::core::enqueue_sidekick (sidekick_i *, sidekick_reactor_i *)
 

Additional Inherited Members

- 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
 
- Public Member Functions inherited from scopira::tool::runnable_i
virtual void run (void)=0
 
virtual void run (void)=0
 

Detailed Description

This is a "sidekick" task. Decendants can implement the run() method and then be given to the sidekick thread for processing.

See Sidekicks

Author
Aleksander Demko

Member Function Documentation

◆ notify_reactors()

void scopira::core::sidekick_i::notify_reactors ( void  )
protected

Descendants may call this to emit a notify event to any listening reactors

Author
Aleksander Demko

Referenced by sidekick_i().


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