sigx::sync_tunnel_context_base Class Reference
[Dispatching]

Specialities for synchronous tunnel context. More...

#include <tunnel_context_base.h>

Inheritance diagram for sigx::sync_tunnel_context_base:

sigx::tunnel_context_base sigx::operator_new sigx::tunnel_context< SYNC, T_return, T_unary_functor > sigx::tunnel_context< SYNC, void, T_unary_functor >

Public Member Functions

 sync_tunnel_context_base (const shared_dispatchable &_A_disp, const tunnel_validity_tracker &_A_validity_tracker)

Protected Member Functions

void dispatch_me ()
 sends the tunnel context over the dispatcher.

Protected Attributes

Glib::Cond m_cond
Glib::Mutex m_mutex

Detailed Description

Specialities for synchronous tunnel context.

Constructor & Destructor Documentation

sigx::sync_tunnel_context_base::sync_tunnel_context_base ( const shared_dispatchable _A_disp,
const tunnel_validity_tracker _A_validity_tracker 
)


Member Function Documentation

void sigx::sync_tunnel_context_base::dispatch_me (  )  [protected]

sends the tunnel context over the dispatcher.

Locks until invoke() has completed.

Returns:
whether the tunnel context is dispatchable, i.e. the dispatcher reference was still valid.
Exceptions:
bad_dispatcher If dispatcher is invalid.

Reimplemented from sigx::tunnel_context_base.

References m_cond, and m_mutex.

Referenced by sigx::tunnel_context< SYNC, void, T_unary_functor >::tunnel().


Field Documentation

Referenced by dispatch_me().

Glib::Mutex sigx::sync_tunnel_context_base::m_mutex [protected]

Referenced by dispatch_me().


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

Generated on Sun May 17 15:47:35 2009 for sigx++ by  doxygen 1.5.9