nodelet::NodeletDEMUX< T, Subscriber > Class Template Reference

NodeletDEMUX represent a demux nodelet for topics: it takes 1 input topic, and publishes on N (<=8) output topics. More...

#include <nodelet_demux.h>

List of all members.

Public Member Functions

void onInit ()
 Nodelet initialization routine.

Private Types

typedef boost::shared_ptr
< const T > 
TConstPtr

Private Member Functions

void input_callback (const TConstPtr &input)

Private Attributes

XmlRpc::XmlRpcValue output_topics_
 The list of output topics passed as a parameter.
ros::NodeHandle private_nh_
 ROS local node handle.
std::vector< boost::shared_ptr
< ros::Publisher > > 
pubs_output_
 The output list of publishers.
Subscriber sub_input_
 The input subscriber.

Detailed Description

template<typename T, typename Subscriber = message_filters::Subscriber<T>>
class nodelet::NodeletDEMUX< T, Subscriber >

NodeletDEMUX represent a demux nodelet for topics: it takes 1 input topic, and publishes on N (<=8) output topics.

Author:
Radu Bogdan Rusu

Definition at line 49 of file nodelet_demux.h.


Member Typedef Documentation

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
typedef boost::shared_ptr<const T> nodelet::NodeletDEMUX< T, Subscriber >::TConstPtr [private]

Definition at line 45 of file nodelet_demux.h.


Member Function Documentation

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
void nodelet::NodeletDEMUX< T, Subscriber >::input_callback ( const TConstPtr input  )  [inline, private]

Definition at line 98 of file nodelet_demux.h.

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
void nodelet::NodeletDEMUX< T, Subscriber >::onInit (  )  [inline]

Nodelet initialization routine.

Definition at line 50 of file nodelet_demux.h.


Member Data Documentation

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
XmlRpc::XmlRpcValue nodelet::NodeletDEMUX< T, Subscriber >::output_topics_ [private]

The list of output topics passed as a parameter.

Definition at line 113 of file nodelet_demux.h.

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
ros::NodeHandle nodelet::NodeletDEMUX< T, Subscriber >::private_nh_ [private]

ROS local node handle.

Definition at line 105 of file nodelet_demux.h.

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
std::vector<boost::shared_ptr <ros::Publisher> > nodelet::NodeletDEMUX< T, Subscriber >::pubs_output_ [private]

The output list of publishers.

Definition at line 107 of file nodelet_demux.h.

template<typename T , typename Subscriber = message_filters::Subscriber<T>>
Subscriber nodelet::NodeletDEMUX< T, Subscriber >::sub_input_ [private]

The input subscriber.

Definition at line 109 of file nodelet_demux.h.


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


nodelet_topic_tools
Author(s): Radu Bogdan Rusu, Tully Foote
autogenerated on Fri Jan 11 09:43:00 2013