Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
jsk_topic_tools::MUX Class Reference

#include <mux_nodelet.h>

Inheritance diagram for jsk_topic_tools::MUX:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ros::MessageEvent
< topic_tools::ShapeShifter
ShapeShifterEvent

Public Member Functions

virtual bool addTopicCallback (topic_tools::MuxAdd::Request &req, topic_tools::MuxAdd::Response &res)
virtual bool deleteTopicCallback (topic_tools::MuxDelete::Request &req, topic_tools::MuxDelete::Response &res)
virtual void inputCallback (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg)
virtual bool listTopicCallback (topic_tools::MuxList::Request &req, topic_tools::MuxList::Response &res)
virtual void onInit ()
virtual bool selectTopicCallback (topic_tools::MuxSelect::Request &req, topic_tools::MuxSelect::Response &res)

Protected Member Functions

virtual void connectCb (const ros::SingleSubscriberPublisher &pub)
virtual void subscribeSelectedTopic ()

Protected Attributes

bool advertised_
ros::NodeHandle pnh_
ros::Publisher pub_
ros::Publisher pub_selected_
std::string selected_topic_
ros::ServiceServer ss_add_
ros::ServiceServer ss_del_
ros::ServiceServer ss_list_
ros::ServiceServer ss_select_
boost::shared_ptr
< ros::Subscriber
sub_
bool subscribing_
ros::TransportHints th_
std::vector< std::stringtopics_

Detailed Description

Definition at line 48 of file mux_nodelet.h.


Member Typedef Documentation

Definition at line 51 of file mux_nodelet.h.


Member Function Documentation

bool jsk_topic_tools::MUX::addTopicCallback ( topic_tools::MuxAdd::Request &  req,
topic_tools::MuxAdd::Response &  res 
) [virtual]

Definition at line 119 of file mux_nodelet.cpp.

void jsk_topic_tools::MUX::connectCb ( const ros::SingleSubscriberPublisher pub) [protected, virtual]

Definition at line 68 of file mux_nodelet.cpp.

bool jsk_topic_tools::MUX::deleteTopicCallback ( topic_tools::MuxDelete::Request &  req,
topic_tools::MuxDelete::Response &  res 
) [virtual]

Definition at line 144 of file mux_nodelet.cpp.

void jsk_topic_tools::MUX::inputCallback ( const boost::shared_ptr< topic_tools::ShapeShifter const > &  msg) [virtual]

Definition at line 193 of file mux_nodelet.cpp.

bool jsk_topic_tools::MUX::listTopicCallback ( topic_tools::MuxList::Request &  req,
topic_tools::MuxList::Response &  res 
) [virtual]

Definition at line 164 of file mux_nodelet.cpp.

void jsk_topic_tools::MUX::onInit ( ) [virtual]

Implements nodelet::Nodelet.

Definition at line 44 of file mux_nodelet.cpp.

bool jsk_topic_tools::MUX::selectTopicCallback ( topic_tools::MuxSelect::Request &  req,
topic_tools::MuxSelect::Response &  res 
) [virtual]

Definition at line 93 of file mux_nodelet.cpp.

void jsk_topic_tools::MUX::subscribeSelectedTopic ( ) [protected, virtual]

Definition at line 173 of file mux_nodelet.cpp.


Member Data Documentation

Definition at line 65 of file mux_nodelet.h.

Definition at line 72 of file mux_nodelet.h.

Definition at line 71 of file mux_nodelet.h.

Definition at line 70 of file mux_nodelet.h.

Definition at line 68 of file mux_nodelet.h.

Definition at line 74 of file mux_nodelet.h.

Definition at line 74 of file mux_nodelet.h.

Definition at line 74 of file mux_nodelet.h.

Definition at line 74 of file mux_nodelet.h.

boost::shared_ptr<ros::Subscriber> jsk_topic_tools::MUX::sub_ [protected]

Definition at line 69 of file mux_nodelet.h.

Definition at line 66 of file mux_nodelet.h.

Definition at line 73 of file mux_nodelet.h.

std::vector<std::string> jsk_topic_tools::MUX::topics_ [protected]

Definition at line 67 of file mux_nodelet.h.


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


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Sun Jan 25 2015 00:30:41