NodeletDEMUX represent a demux nodelet for topics: it takes 1 input topic, and publishes on N (<=8) output topics. More...
#include <nodelet_demux.h>
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. |
NodeletDEMUX represent a demux nodelet for topics: it takes 1 input topic, and publishes on N (<=8) output topics.
Definition at line 51 of file nodelet_demux.h.
typedef boost::shared_ptr<const T> nodelet::NodeletDEMUX< T, Subscriber >::TConstPtr [private] |
Definition at line 53 of file nodelet_demux.h.
void nodelet::NodeletDEMUX< T, Subscriber >::input_callback | ( | const TConstPtr & | input | ) | [inline, private] |
Definition at line 106 of file nodelet_demux.h.
void nodelet::NodeletDEMUX< T, Subscriber >::onInit | ( | ) | [inline, virtual] |
Nodelet initialization routine.
Implements nodelet::Nodelet.
Definition at line 58 of file nodelet_demux.h.
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.
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.
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.
Subscriber nodelet::NodeletDEMUX< T, Subscriber >::sub_input_ [private] |
The input subscriber.
Definition at line 117 of file nodelet_demux.h.