sigx++
2.0.1
|
Stores connections of any client thread to a server thread's signal and destroys them along with the thread's lifetime. More...
#include <connection_handler.h>
Data Structures | |
struct | connections_container_wrapper |
Static Public Member Functions | |
static void | destroy (const sigc_connection_ptr *handle) |
Destroys a sigc::connection in the context of the server thread. More... | |
static void | store (const std::tr1::shared_ptr< sigc_connection_ptr > &_A_refconn, const sigc::connection &c) |
Stores a sigc::connection in the context of the server thread. More... | |
Static Protected Attributes | |
static Glib::StaticPrivate< connections_container_wrapper > | thread_specific_connections = GLIBMM_STATIC_PRIVATE_INIT |
Stores connections of any client thread to a server thread's signal and destroys them along with the thread's lifetime.
|
static |
Destroys a sigc::connection in the context of the server thread.
Called when the last connection sharing a sigc::connection goes out of scope and tunnels a message.
References sigx::connection_handler::connections_container_wrapper::m_connections, and thread_specific_connections.
Referenced by sigx::connection_wrapper::destroy_self().
|
static |
Stores a sigc::connection in the context of the server thread.
_A_refconn | Shared connection pointer |
c | The connection |
References sigx::connection_handler::connections_container_wrapper::m_connections, and thread_specific_connections.
Referenced by sigx::typed_connection_handler< T_signal, internal::SIGGROUP_SIGC >::connect(), sigx::typed_connection_handler< T_signal, internal::SIGGROUP_GLIB_PROXY >::connect(), sigx::typed_connection_handler< Glib::SignalIdle, internal::SIGGROUP_IRRELEVANT >::connect(), sigx::typed_connection_handler< Glib::SignalTimeout, internal::SIGGROUP_IRRELEVANT >::connect(), sigx::typed_connection_handler< Glib::SignalIO, internal::SIGGROUP_IRRELEVANT >::connect(), sigx::typed_connection_handler< Glib::SignalChildWatch, internal::SIGGROUP_IRRELEVANT >::connect(), and sigx::typed_connection_handler< T_signal, internal::SIGGROUP_GLIB_PROXY >::connect_notify().
|
staticprotected |