sigx++
2.0.1
|
A threadsafe representation of a sigc::connection. More...
#include <connection_wrapper.h>
Public Member Functions | |
connection_wrapper () | |
Construct an empty connection_wrapper. More... | |
connection_wrapper (const shared_dispatchable &_A_disp, const shared_sigc_conn_ptr &_A_conn) | |
Construct from a dispatchable and a late bound pointer to the server thread's sigc::connection. More... | |
connection_wrapper (const connection_wrapper &other) throw () | |
Copy construct from another connection_wrapper. More... | |
~connection_wrapper () throw () | |
connection_wrapper & | operator= (const connection_wrapper &other) |
bool | empty () const |
bool | connected () const |
bool | blocked () const |
bool | block (bool should_block=true) |
bool | unblock () |
void | disconnect () |
operator bool () | |
Protected Member Functions | |
void | destroy_self () |
A threadsafe representation of a sigc::connection.
sigx::connection_wrapper::connection_wrapper | ( | ) |
Construct an empty connection_wrapper.
sigx::connection_wrapper::connection_wrapper | ( | const shared_dispatchable & | _A_disp, |
const shared_sigc_conn_ptr & | _A_conn | ||
) |
Construct from a dispatchable and a late bound pointer to the server thread's sigc::connection.
sigx::connection_wrapper::connection_wrapper | ( | const connection_wrapper & | other) | ||
throw | ( | ||||
) |
Copy construct from another connection_wrapper.
sigx::connection_wrapper::~connection_wrapper | ( | ) | ||
throw | ( | |||
) |
References destroy_self().
bool sigx::connection_wrapper::block | ( | bool | should_block = true ) |
References sigx::open_sync_tunnel_with(), and sigx::ref().
bool sigx::connection_wrapper::blocked | ( | ) | const |
References sigx::open_sync_tunnel_with(), and sigx::ref().
bool sigx::connection_wrapper::connected | ( | ) | const |
References sigx::open_sync_tunnel_with(), and sigx::ref().
|
protected |
References sigx::connection_handler::destroy(), and sigx::open_tunnel_with().
Referenced by operator=(), and ~connection_wrapper().
void sigx::connection_wrapper::disconnect | ( | ) |
References sigx::open_tunnel_with().
bool sigx::connection_wrapper::empty | ( | ) | const |
References sigx::open_sync_tunnel_with(), and sigx::ref().
sigx::connection_wrapper::operator bool | ( | ) |
References sigx::open_sync_tunnel_with(), and sigx::ref().
connection_wrapper & sigx::connection_wrapper::operator= | ( | const connection_wrapper & | other) |
References destroy_self().
bool sigx::connection_wrapper::unblock | ( | ) |
References sigx::open_sync_tunnel_with(), and sigx::ref().