sigx::auto_dispatchable Class Reference
[Dispatching]

A dispatchable managing the pointer to the dispatcher. More...

#include <auto_dispatchable.h>

Inheritance diagram for sigx::auto_dispatchable:

sigx::dispatchable sigx::noncopyable sigx::glib_auto_dispatchable

Protected Member Functions

 auto_dispatchable (dispatcher_ptr disp)
 ~auto_dispatchable ()

Detailed Description

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

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

Constructor & Destructor Documentation

sigx::auto_dispatchable::auto_dispatchable ( dispatcher_ptr  disp  )  [protected]

sigx::auto_dispatchable::~auto_dispatchable (  )  [protected]


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

Generated on Mon Aug 3 17:35:09 2009 for sigx++ by  doxygen 1.5.9