#include <mux_nodelet.h>
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::string > | topics_ |
Definition at line 48 of file mux_nodelet.h.
Definition at line 51 of file mux_nodelet.h.
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.
bool jsk_topic_tools::MUX::advertised_ [protected] |
Definition at line 65 of file mux_nodelet.h.
ros::NodeHandle jsk_topic_tools::MUX::pnh_ [protected] |
Definition at line 72 of file mux_nodelet.h.
ros::Publisher jsk_topic_tools::MUX::pub_ [protected] |
Definition at line 71 of file mux_nodelet.h.
ros::Publisher jsk_topic_tools::MUX::pub_selected_ [protected] |
Definition at line 70 of file mux_nodelet.h.
std::string jsk_topic_tools::MUX::selected_topic_ [protected] |
Definition at line 68 of file mux_nodelet.h.
ros::ServiceServer jsk_topic_tools::MUX::ss_add_ [protected] |
Definition at line 74 of file mux_nodelet.h.
ros::ServiceServer jsk_topic_tools::MUX::ss_del_ [protected] |
Definition at line 74 of file mux_nodelet.h.
ros::ServiceServer jsk_topic_tools::MUX::ss_list_ [protected] |
Definition at line 74 of file mux_nodelet.h.
ros::ServiceServer jsk_topic_tools::MUX::ss_select_ [protected] |
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.
bool jsk_topic_tools::MUX::subscribing_ [protected] |
Definition at line 66 of file mux_nodelet.h.
ros::TransportHints jsk_topic_tools::MUX::th_ [protected] |
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.