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 () |
Protected Member Functions | |
void | set_dispatcher (dispatcher_ptr disp) |
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 | ( | ) |
sigx::manual_dispatchable::~manual_dispatchable | ( | ) | [virtual] |
References sigx::dispatchable::dispatcher(), and sigx::dispatchable::invalidate_tunnels().
void sigx::manual_dispatchable::set_dispatcher | ( | dispatcher_ptr | disp | ) | [protected] |
References sigx::dispatchable::invalidate_tunnels(), and sigx::dispatchable::m_disp_ptr.