sigx++
2.0.1
|
A dispatchable whose dispatcher pointer is managed by derived classes. More...
#include <manual_dispatchable.h>
Public Member Functions | |
manual_dispatchable () | |
virtual | ~manual_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 Member Functions | |
void | set_dispatcher (dispatcher_ptr disp) |
![]() | |
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 *) |
![]() | |
internal::rwlockable_dispatcher_ptr * | m_disp_ptr |
A dispatchable whose dispatcher pointer is managed by derived classes.
The dispatcher must be set manually with set_dispatcher() in the context of the running thread, the best point is after creating the main context for the thread.
sigx::manual_dispatchable::manual_dispatchable | ( | ) |
|
virtual |
References sigx::dispatchable::dispatcher(), and sigx::dispatchable::invalidate_tunnels().
|
protected |
References sigx::dispatchable::invalidate_tunnels(), and sigx::dispatchable::m_disp_ptr.