#include <tunnel_context.h>
Public Types | |
typedef tunnel_context< SYNC, T_return, T_unary_functor > | this_type |
typedef T_return | 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) | |
T_return | tunnel () |
dispatches the tunnel_context (itself) over the referenced dispatcher. | |
void | invoke () |
invokes the intended functor at the other end of the tunnel |
Synchronous tunnels store reference wrappers to the passed arguments, thus optimizing argument transmission.
typedef T_return sigx::tunnel_context< SYNC, T_return, T_unary_functor >::result_type |
typedef tunnel_context<SYNC, T_return, T_unary_functor> sigx::tunnel_context< SYNC, T_return, T_unary_functor >::this_type |
sigx::tunnel_context< SYNC, T_return, T_unary_functor >::tunnel_context | ( | const shared_dispatchable & | _A_disp, | |
const tunnel_validity_tracker & | _A_validity_tracker, | |||
typename sigc::type_trait< T_unary_functor >::take | _A_func | |||
) | [inline] |
void sigx::tunnel_context< SYNC, T_return, T_unary_functor >::invoke | ( | ) | [inline, virtual] |
T_return sigx::tunnel_context< SYNC, T_return, T_unary_functor >::tunnel | ( | ) | [inline] |
dispatches the tunnel_context (itself) over the referenced dispatcher.
References sigx::tunnel_context_base::dispatch_me().