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 ()

Protected Member Functions

void set_dispatcher (dispatcher_ptr disp)

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: