NodeletMUX represent a mux nodelet for topics: it takes N (<=8) input topics, and publishes all of them on one output topic. More...
#include <nodelet_mux.h>
Public Member Functions | |
NodeletMUX () | |
virtual 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 |
typedef boost::shared_ptr< T > | TPtr |
Private Member Functions | |
void | filter_cb (const TConstPtr &input) |
void | input (const TConstPtr &in1, const TConstPtr &in2, const TConstPtr &in3, const TConstPtr &in4, const TConstPtr &in5, const TConstPtr &in6, const TConstPtr &in7, const TConstPtr &in8) |
Private Attributes | |
std::vector< boost::shared_ptr< Filter > > | filters_ |
A vector of message filters. More... | |
int | maximum_queue_size_ |
The maximum number of messages that we can store in the queue. More... | |
message_filters::PassThrough< T > | nf_ |
Null filter. More... | |
ros::NodeHandle | private_nh_ |
ROS local node handle. More... | |
ros::Publisher | pub_output_ |
The output ROS publisher. More... | |
boost::shared_ptr< message_filters::TimeSynchronizer< T, T, T, T, T, T, T, T > > | ts_ |
Synchronizer object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from nodelet::Nodelet | |
ros::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
NodeletMUX represent a mux nodelet for topics: it takes N (<=8) input topics, and publishes all of them on one output topic.
Definition at line 52 of file nodelet_mux.h.
|
private |
Definition at line 55 of file nodelet_mux.h.
|
private |
Definition at line 54 of file nodelet_mux.h.
|
inline |
Definition at line 58 of file nodelet_mux.h.
|
inlineprivate |
Definition at line 169 of file nodelet_mux.h.
|
inlineprivate |
Definition at line 175 of file nodelet_mux.h.
|
inlinevirtual |
Nodelet initialization routine.
Implements nodelet::Nodelet.
Definition at line 63 of file nodelet_mux.h.
|
private |
A vector of message filters.
Definition at line 194 of file nodelet_mux.h.
|
private |
The maximum number of messages that we can store in the queue.
Definition at line 191 of file nodelet_mux.h.
|
private |
Null filter.
Definition at line 188 of file nodelet_mux.h.
|
private |
ROS local node handle.
Definition at line 183 of file nodelet_mux.h.
|
private |
The output ROS publisher.
Definition at line 185 of file nodelet_mux.h.
|
private |
Synchronizer object.
Definition at line 197 of file nodelet_mux.h.