sigx++
2.0.1
|
The base for a sigx::signal_wrapper. More...
#include <signal_wrapper_base.h>
Protected Member Functions | |
signal_wrapper_base () | |
~signal_wrapper_base () throw () | |
signal_wrapper_base (const shared_dispatchable &_A_disp, const std::tr1::shared_ptr< signal_source_base > &_A_sigsource) throw () | |
std::pair< connection_wrapper, std::tr1::shared_ptr < sigc_connection_ptr > > | prepare_connection (const tunnel_base &_A_tunnel) const |
Prepare a shared sigc::connection pointer and a connection_wrapper. More... | |
template<typename T_functor , typename T_functor_conn_handler > | |
connection_wrapper | connect (const T_functor &_A_func, const T_functor_conn_handler &_A_func_conn_handler) const |
Call _A_func_conn_handler in the context of the server thread, _A_func_conn_handler resolves to typed_connection_handler<>::connect[_notify] connecting _A_func to the server thread's signal. More... | |
Protected Attributes | |
shared_dispatchable | m_disp |
std::tr1::shared_ptr < signal_source_base > | m_sigsource |
The source for the server thread's signal. More... | |
Additional Inherited Members |
The base for a sigx::signal_wrapper.
It holds a shared_dispatchable and a shared signal source.
|
protected |
Might | throw a std::bad_alloc exception (from dispatchable's ctor) |
|
protected |
|
protected |
|
protected |
Call _A_func_conn_handler in the context of the server thread, _A_func_conn_handler resolves to typed_connection_handler<>::connect[_notify] connecting _A_func to the server thread's signal.
References m_disp, m_sigsource, sigx::open_tunnel_with(), prepare_connection(), and SIGX_STATIC_ASSERT.
Referenced by sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 0 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 1 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 2 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 3 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 4 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 5 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 6 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_SIGC, 7 >::connect(), sigx::signal_wrapper< T_signal, internal::SIGGROUP_GLIB_PROXY,-1 >::connect(), sigx::signal_wrapper< Glib::SignalIdle >::connect(), sigx::signal_wrapper< Glib::SignalTimeout >::connect(), sigx::signal_wrapper< Glib::SignalIO >::connect(), sigx::signal_wrapper< Glib::SignalChildWatch >::connect(), and sigx::signal_wrapper< T_signal, internal::SIGGROUP_GLIB_PROXY,-1 >::connect_notify().
|
protected |
Prepare a shared sigc::connection pointer and a connection_wrapper.
The sigc::connection itself will be created in the context of the server thread
References sigx::tunnel_validity_tracker::add_connection(), m_disp, and sigx::tunnel_base::validity_tracker().
Referenced by connect().
|
protected |
The server thread's shared dispatchable to operate on for making connections or emitting the signal
Referenced by connect(), and prepare_connection().
|
protected |
The source for the server thread's signal.
Referenced by connect().