sigx++ 2.0.1
|
A dispatchable managing the pointer to the dispatcher. More...
#include <auto_dispatchable.h>
Protected Member Functions | |
auto_dispatchable (dispatcher_ptr disp) | |
~auto_dispatchable () |
A dispatchable managing the pointer to the dispatcher.
the dispatcher reference is initialized with a dispatcher automatically in the ctor, thus, an auto-dispatchable is especially useful for classes running in the default glib main context. if you need manual control over which dispatcher your derived class should use (like for threads), then use the manual_dispatchable
sigx::auto_dispatchable::auto_dispatchable | ( | dispatcher_ptr | disp | ) | [protected] |
sigx::auto_dispatchable::~auto_dispatchable | ( | ) | [protected] |
References sigx::dispatchable::invalidate_tunnels(), and sigx::dispatchable::m_disp_ptr.