message_filters::Connection Class Reference

Encapsulates a connection from one filter to another (or to a user-specified callback). More...

#include <connection.h>

List of all members.

Public Types

typedef boost::function< void(void)> VoidDisconnectFunction
typedef boost::function< void(const
Connection &)> 
WithConnectionDisconnectFunction

Public Member Functions

 Connection (const WithConnectionDisconnectFunction &func, boost::signals::connection conn)
 Connection (const VoidDisconnectFunction &func)
 Connection ()
void disconnect ()
 disconnects this connection
boost::signals::connection getBoostConnection () const

Private Attributes

boost::signals::connection connection_
WithConnectionDisconnectFunction connection_disconnect_
VoidDisconnectFunction void_disconnect_

Detailed Description

Encapsulates a connection from one filter to another (or to a user-specified callback).

Definition at line 47 of file connection.h.


Member Typedef Documentation

typedef boost::function<void(void)> message_filters::Connection::VoidDisconnectFunction

Definition at line 50 of file connection.h.

Definition at line 51 of file connection.h.


Constructor & Destructor Documentation

message_filters::Connection::Connection (  )  [inline]

Definition at line 52 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::signals::connection  conn 
)

Definition at line 46 of file connection.cpp.


Member Function Documentation

void message_filters::Connection::disconnect (  ) 

disconnects this connection

Definition at line 52 of file connection.cpp.

boost::signals::connection message_filters::Connection::getBoostConnection (  )  const [inline]

Definition at line 61 of file connection.h.


Member Data Documentation

boost::signals::connection message_filters::Connection::connection_ [private]

Definition at line 66 of file connection.h.

Definition at line 65 of file connection.h.

Definition at line 64 of file connection.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs


message_filters
Author(s): Josh Faust (jfaust@willowgarage.com), Vijay Pradeep (vpradeep@willowgarage.com)
autogenerated on Fri Jan 11 10:09:17 2013