Encapsulates a connection from one filter to another (or to a user-specified callback) More...
#include <connection.h>
Public Types | |
typedef boost::function< void(void)> | VoidDisconnectFunction |
typedef boost::function< void(const Connection &)> | WithConnectionDisconnectFunction |
Public Member Functions | |
Connection () | |
Connection (const VoidDisconnectFunction &func) | |
Connection (const WithConnectionDisconnectFunction &func, boost::signals2::connection conn) | |
void | disconnect () |
disconnects this connection More... | |
boost::signals2::connection | getBoostConnection () const |
Private Attributes | |
boost::signals2::connection | connection_ |
WithConnectionDisconnectFunction | connection_disconnect_ |
VoidDisconnectFunction | void_disconnect_ |
Encapsulates a connection from one filter to another (or to a user-specified callback)
Definition at line 48 of file connection.h.
typedef boost::function<void(void)> message_filters::Connection::VoidDisconnectFunction |
Definition at line 51 of file connection.h.
typedef boost::function<void(const Connection&)> message_filters::Connection::WithConnectionDisconnectFunction |
Definition at line 52 of file connection.h.
|
inline |
Definition at line 53 of file connection.h.
message_filters::Connection::Connection | ( | const VoidDisconnectFunction & | func | ) |
Definition at line 41 of file connection.cpp.
message_filters::Connection::Connection | ( | const WithConnectionDisconnectFunction & | func, |
boost::signals2::connection | conn | ||
) |
Definition at line 46 of file connection.cpp.
void message_filters::Connection::disconnect | ( | ) |
disconnects this connection
Definition at line 52 of file connection.cpp.
|
inline |
Definition at line 62 of file connection.h.
|
private |
Definition at line 67 of file connection.h.
|
private |
Definition at line 66 of file connection.h.
|
private |
Definition at line 65 of file connection.h.