Adaptors

Useful sigc++ adaptors. More...


Data Structures

struct  sigx::tunnel_functor< ASYNC, T_functor >
 creates a tunnel on the given functor. More...

Functions

template<typename T_functor >
 sigx::dispatch_with (const T_functor &_A_func, const shared_dispatchable &d)
 Binds a dispatchable explicitly to a functor.
template<typename T_functor >
tunnel_functor< ASYNC, T_functor > sigx::open_tunnel (const T_functor &_A_func)
 Opens an asynchronous tunnel on the specified functor.
template<typename T_functor >
tunnel_functor< SYNC, T_functor > sigx::open_sync_tunnel (const T_functor &_A_func)
 Opens a synchronous tunnel on the specified functor.
template<typename T_functor >
tunnel_functor< ASYNC,
SIGX_DISPATCH_WITH_FUNCTOR(T_functor)> 
sigx::open_tunnel_with (const T_functor &_A_func, const shared_dispatchable &d)
 Opens an asynchronous tunnel on the specified functor with the dispatcher of the specified dispatchable.
template<typename T_functor >
tunnel_functor< SYNC,
SIGX_DISPATCH_WITH_FUNCTOR(T_functor)> 
sigx::open_sync_tunnel_with (const T_functor &_A_func, const shared_dispatchable &d)
 Opens a synchronous tunnel on the specified functor with the dispatcher of the specified dispatchable.


Detailed Description

Useful sigc++ adaptors.

Function Documentation

template<typename T_functor >
sigx::dispatch_with ( const T_functor &  _A_func,
const shared_dispatchable &  d 
) [inline]

template<typename T_functor >
tunnel_functor<SYNC, T_functor> sigx::open_sync_tunnel ( const T_functor &  _A_func  )  [inline]

Opens a synchronous tunnel on the specified functor.

Parameters:
_A_func the functor on which the tunnel should be created
Note:
_A_func must be a dispatchable functor, i.e. a member function of a class derived from sigx::dispatchable or a dispatchable functor explicitly created with dispatch_with()
Returns:
Functor that executes _A_func on invokation in the context of the server thread.

template<typename T_functor >
tunnel_functor<SYNC, SIGX_DISPATCH_WITH_FUNCTOR(T_functor)> sigx::open_sync_tunnel_with ( const T_functor &  _A_func,
const shared_dispatchable &  d 
) [inline]

Opens a synchronous tunnel on the specified functor with the dispatcher of the specified dispatchable.

Parameters:
_A_func the functor on which the tunnel should be created
d the dispatchable to operate on
Note:
_A_func must be a dispatchable functor, i.e. a member function of a class derived from sigx::dispatchable or a dispatchable functor explicitly created with dispatch_with()
Returns:
Functor that executes _A_func on invokation in the context of the server thread.

References sigx::dispatch_with().

Referenced by sigx::connection_wrapper::block(), sigx::connection_wrapper::blocked(), sigx::connection_wrapper::connected(), sigx::connection_wrapper::empty(), sigx::connection_wrapper::operator bool(), and sigx::connection_wrapper::unblock().

template<typename T_functor >
tunnel_functor<ASYNC, T_functor> sigx::open_tunnel ( const T_functor &  _A_func  )  [inline]

Opens an asynchronous tunnel on the specified functor.

Parameters:
_A_func the functor on which the tunnel should be created
Note:
_A_func must be a dispatchable functor, i.e. a member function of a class derived from sigx::dispatchable or a dispatchable functor explicitly created with dispatch_with()
Returns:
Functor that executes _A_func on invokation in the context of the server thread.

Referenced by sigx::internal::auto_tunneler< T_functor, I_istunneled >::auto_open_tunnel().

template<typename T_functor >
tunnel_functor<ASYNC, SIGX_DISPATCH_WITH_FUNCTOR(T_functor)> sigx::open_tunnel_with ( const T_functor &  _A_func,
const shared_dispatchable &  d 
) [inline]

Opens an asynchronous tunnel on the specified functor with the dispatcher of the specified dispatchable.

Parameters:
_A_func the functor on which the tunnel should be created
d the dispatchable to operate on
Note:
_A_func must be a dispatchable functor, i.e. a member function of a class derived from sigx::dispatchable or a dispatchable functor explicitly created with dispatch_with()
Returns:
Functor that executes _A_func on invokation in the context of the server thread.

References sigx::dispatch_with().

Referenced by sigx::signal_wrapper_base::connect(), sigx::connection_wrapper::destroy_self(), sigx::connection_wrapper::disconnect(), sigx::glib_threadable::finish(), and sigx::tunnel_validity_tracker::~tunnel_validity_tracker().


Generated on Wed Jan 28 21:37:59 2009 for sigx++ by  doxygen 1.5.8