Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
message_filters::PassThrough< M > Class Template Reference

Simple passthrough filter. What comes in goes out immediately. More...

#include <pass_through.h>

Inheritance diagram for message_filters::PassThrough< M >:
Inheritance graph
[legend]

Public Types

typedef ros::MessageEvent< M const > EventType
 
typedef boost::shared_ptr< M const > MConstPtr
 
- Public Types inherited from message_filters::SimpleFilter< M >
typedef boost::function< void(const MConstPtr &)> Callback
 
typedef boost::function< void(const EventType &)> EventCallback
 
typedef ros::MessageEvent< M const > EventType
 
typedef boost::shared_ptr< M const > MConstPtr
 

Public Member Functions

void add (const MConstPtr &msg)
 
void add (const EventType &evt)
 
template<class F >
void connectInput (F &f)
 
 PassThrough ()
 
template<typename F >
 PassThrough (F &f)
 
- Public Member Functions inherited from message_filters::SimpleFilter< M >
const std::string & getName ()
 Get the name of this filter. For debugging use. More...
 
template<typename C >
Connection registerCallback (const C &callback)
 Register a callback to be called when this filter has passed. More...
 
template<typename P >
Connection registerCallback (const boost::function< void(P)> &callback)
 Register a callback to be called when this filter has passed. More...
 
template<typename P >
Connection registerCallback (void(*callback)(P))
 Register a callback to be called when this filter has passed. More...
 
template<typename T , typename P >
Connection registerCallback (void(T::*callback)(P), T *t)
 Register a callback to be called when this filter has passed. More...
 
void setName (const std::string &name)
 Set the name of this filter. For debugging use. More...
 

Private Member Functions

void cb (const EventType &evt)
 

Private Attributes

Connection incoming_connection_
 

Additional Inherited Members

- Protected Member Functions inherited from message_filters::SimpleFilter< M >
void signalMessage (const MConstPtr &msg)
 Call all registered callbacks, passing them the specified message. More...
 
void signalMessage (const ros::MessageEvent< M const > &event)
 Call all registered callbacks, passing them the specified message. More...
 

Detailed Description

template<typename M>
class message_filters::PassThrough< M >

Simple passthrough filter. What comes in goes out immediately.

Definition at line 48 of file pass_through.h.

Member Typedef Documentation

template<typename M>
typedef ros::MessageEvent<M const> message_filters::PassThrough< M >::EventType

Definition at line 52 of file pass_through.h.

template<typename M>
typedef boost::shared_ptr<M const> message_filters::PassThrough< M >::MConstPtr

Definition at line 51 of file pass_through.h.

Constructor & Destructor Documentation

template<typename M>
message_filters::PassThrough< M >::PassThrough ( )
inline

Definition at line 54 of file pass_through.h.

template<typename M>
template<typename F >
message_filters::PassThrough< M >::PassThrough ( F &  f)
inline

Definition at line 59 of file pass_through.h.

Member Function Documentation

template<typename M>
void message_filters::PassThrough< M >::add ( const MConstPtr msg)
inline

Definition at line 71 of file pass_through.h.

template<typename M>
void message_filters::PassThrough< M >::add ( const EventType evt)
inline

Definition at line 76 of file pass_through.h.

template<typename M>
void message_filters::PassThrough< M >::cb ( const EventType evt)
inlineprivate

Definition at line 82 of file pass_through.h.

template<typename M>
template<class F >
void message_filters::PassThrough< M >::connectInput ( F &  f)
inline

Definition at line 65 of file pass_through.h.

Member Data Documentation

template<typename M>
Connection message_filters::PassThrough< M >::incoming_connection_
private

Definition at line 87 of file pass_through.h.


The documentation for this class was generated from the following file:


message_filters
Author(s): Josh Faust, Vijay Pradeep
autogenerated on Sun Aug 26 2018 03:04:00