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 () | |
![]() | |
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. | |
dispatcher_ptr | dispatcher () const throw () |
non-volatile access to the dispatcher pointer in the current thread |
Additional Inherited Members | |
![]() | |
typedef void(* | func_dispatcher_change_notify )(void *) |
![]() | |
void | add_dispatcher_change_notify_callback (void *data, func_dispatcher_change_notify func) const |
void | remove_dispatcher_change_notify_callback (void *data) const |
![]() | |
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.