Public Member Functions | Private Types | Private Member Functions | Private Attributes
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>

Inheritance diagram for nodelet::NodeletDEMUX< T, Subscriber >:
Inheritance graph
[legend]

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 51 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 53 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 106 of file nodelet_demux.h.

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

Nodelet initialization routine.

Implements nodelet::Nodelet.

Definition at line 58 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 121 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.

Reimplemented from nodelet::Nodelet.

Definition at line 113 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 115 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 117 of file nodelet_demux.h.


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


nodelet_topic_tools
Author(s): Radu Bogdan Rusu, Tully Foote
autogenerated on Wed Aug 26 2015 14:56:48