Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
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]

Public Member Functions

void onInit ()
 Nodelet initialization routine. More...
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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. More...
 
ros::NodeHandle private_nh_
 ROS local node handle. More...
 
std::vector< boost::shared_ptr< ros::Publisher > > pubs_output_
 The output list of publishers. More...
 
Subscriber sub_input_
 The input subscriber. More...
 

Additional Inherited Members

- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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)
inlineprivate

Definition at line 106 of file nodelet_demux.h.

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

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.

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 Mon Feb 18 2019 03:26:48