sigx++
2.0.1
|
a synchronous tunnel with return type `void". More...
#include <tunnel_context.h>
Public Types | |
typedef tunnel_context< SYNC, void, T_unary_functor > | this_type |
typedef void | result_type |
Public Member Functions | |
tunnel_context (const shared_dispatchable &_A_disp, const tunnel_validity_tracker &_A_validity_tracker, typename sigc::type_trait< T_unary_functor >::take _A_func) | |
void | tunnel () |
dispatches the tunnel_context (itself) over the referenced dispatcher. More... | |
void | invoke () |
invokes the intended functor at the other end of the tunnel More... | |
![]() | |
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 () |
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) |
Additional Inherited Members | |
![]() | |
void | dispatch_me () |
sends the tunnel context over the dispatcher. More... | |
![]() | |
Glib::Cond | m_cond |
Glib::Mutex | m_mutex |
a synchronous tunnel with return type `void".
Synchronous tunnels store reference wrappers to the passed arguments, thus optimizing argument transmission.
typedef void sigx::tunnel_context< SYNC, void, T_unary_functor >::result_type |
typedef tunnel_context<SYNC, void, T_unary_functor> sigx::tunnel_context< SYNC, void, T_unary_functor >::this_type |
|
inline |
|
inlinevirtual |
invokes the intended functor at the other end of the tunnel
Implements sigx::tunnel_context_base.
|
inline |
dispatches the tunnel_context (itself) over the referenced dispatcher.
References sigx::sync_tunnel_context_base::dispatch_me().