|
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 () | |
Protected Member Functions inherited from sigx::dispatchable | |
| dispatchable () | |
| ~dispatchable () throw () | |
| void | invalidate_tunnels () |
| Invalidate those tunnels (and disconnect them from signals) that have registered themselves with add_dispatcher_change_notify_callback() when the validity tracking was activated. More... | |
| dispatcher_ptr | dispatcher () const throw () |
| non-volatile access to the dispatcher pointer in the current thread More... | |
Additional Inherited Members | |
Public Types inherited from sigx::dispatchable | |
| typedef void(* | func_dispatcher_change_notify )(void *) |
Public Member Functions inherited from sigx::dispatchable | |
| void | add_dispatcher_change_notify_callback (void *data, func_dispatcher_change_notify func) const |
| void | remove_dispatcher_change_notify_callback (void *data) const |
Protected Attributes inherited from sigx::dispatchable | |
| internal::rwlockable_dispatcher_ptr * | m_disp_ptr |
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
|
protected |
|
protected |
References sigx::dispatchable::invalidate_tunnels(), and sigx::dispatchable::m_disp_ptr.
1.8.4