14 #ifndef __INCLUDED_SCOPIRA_CORE_SIDEKICK_H__ 15 #define __INCLUDED_SCOPIRA_CORE_SIDEKICK_H__ 17 #include <scopira/tool/export.h> 18 #include <scopira/tool/thread.h> 19 #include <scopira/tool/object.h> 26 class sidekick_reactor_i;
28 class sidekick_queue_i;
39 SCOPIRA_EXPORT
void enqueue_sidekick(sidekick_i *t, sidekick_reactor_i *reac = 0);
110 SCOPIRA_EXPORT
virtual void react_sidekick_notify(
sidekick_i *t) = 0;
119 SCOPIRA_EXPORT
virtual void react_sidekick_done(
sidekick_i *t) = 0;
133 SCOPIRA_EXPORT
virtual ~sidekick_queue_i();
Definition: sidekick.h:127
bool is_sidekick_running(void)
Definition: archiveflow.h:20
static sidekick_queue_i * dm_instance
static instance variable
Definition: sidekick.h:145
Definition: sidekick.h:98
void notify_reactors(void)
sidekick_i(void)
ctor
Definition: sidekick.h:67
void enqueue_sidekick(sidekick_i *t, sidekick_reactor_i *reac=0)
Definition: sidekick.h:61
sidekick_reactor_i *& get_reactor(sidekick_i &sk)
helper to get around friend functionenss
Definition: sidekick.h:141