sigx++  2.0.1
Public Member Functions | Protected Member Functions
sigx::manual_dispatchable Class Reference

A dispatchable whose dispatcher pointer is managed by derived classes. More...

#include <manual_dispatchable.h>

Inheritance diagram for sigx::manual_dispatchable:
sigx::dispatchable sigx::noncopyable sigx::threadable sigx::glib_threadable

Public Member Functions

 manual_dispatchable ()
 
virtual ~manual_dispatchable ()
 
- 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 Member Functions

void set_dispatcher (dispatcher_ptr disp)
 
- 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 *)
 
- Protected Attributes inherited from sigx::dispatchable
internal::rwlockable_dispatcher_ptrm_disp_ptr
 

Detailed Description

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.

Note
non-copyable. If you want to pass around the dispatchable then use a sigx::shared_dispatchable instead

Constructor & Destructor Documentation

sigx::manual_dispatchable::manual_dispatchable ( )
sigx::manual_dispatchable::~manual_dispatchable ( )
virtual

Member Function Documentation

void sigx::manual_dispatchable::set_dispatcher ( dispatcher_ptr  disp)
protected

The documentation for this class was generated from the following files: