sigx++
2.0.1
|
Specialities for synchronous tunnel context. More...
#include <tunnel_context_base.h>
Public Member Functions | |
sync_tunnel_context_base (const shared_dispatchable &_A_disp, const tunnel_validity_tracker &_A_validity_tracker) | |
![]() | |
tunnel_context_base (const shared_dispatchable &_A_disp, const tunnel_validity_tracker &_A_validity_tracker, bool sync=false) | |
virtual | ~tunnel_context_base () |
virtual void | invoke ()=0 |
invokes the intended functor at the other end of the tunnel More... | |
bool | is_sync () const |
bool | is_valid () const |
const void * | creator_thread () const |
![]() | |
void * | operator new (std::size_t size) |
void | operator delete (void *p) |
void * | operator new[] (std::size_t size) |
void | operator delete[] (void *p) |
Protected Member Functions | |
void | dispatch_me () |
sends the tunnel context over the dispatcher. More... | |
![]() | |
void | dispatch_me () |
sends the tunnel context over the dispatcher. More... | |
![]() | |
operator_new () | |
~operator_new () | |
Protected Attributes | |
Glib::Cond | m_cond |
Glib::Mutex | m_mutex |
![]() | |
tunnel_validity_tracker | m_validity_tracker |
shared_dispatchable | m_disp |
bool | m_sync |
const void *const | m_creator_thread |
Specialities for synchronous tunnel context.
sigx::sync_tunnel_context_base::sync_tunnel_context_base | ( | const shared_dispatchable & | _A_disp, |
const tunnel_validity_tracker & | _A_validity_tracker | ||
) |
|
protected |
sends the tunnel context over the dispatcher.
Locks until invoke() has completed.
bad_dispatcher | If dispatcher is invalid. |
References sigx::tunnel_context_base::dispatch_me(), m_cond, and m_mutex.
Referenced by sigx::tunnel_context< SYNC, void, T_unary_functor >::tunnel().
|
protected |
Referenced by dispatch_me().
|
protected |
Referenced by dispatch_me().