#include <stealth_relay.h>
Protected Member Functions | |
virtual bool | getNumOtherSubscribers (const std::string &name, int &num) |
virtual void | inputCallback (const AnyMsgConstPtr &msg) |
virtual bool | isSubscribed () |
virtual void | onInit () |
virtual void | subscribe () |
virtual void | timerCallback (const ros::TimerEvent &event) |
virtual void | unsubscribe () |
Protected Attributes | |
bool | advertised_ |
std::string | monitoring_topic_ |
boost::mutex | mutex_ |
boost::shared_ptr < ros::NodeHandle > | nh_ |
boost::shared_ptr < ros::NodeHandle > | pnh_ |
ros::Timer | poll_timer_ |
ros::Publisher | pub_ |
int | queue_size_ |
ros::Subscriber | sub_ |
bool | subscribed_ |
Private Types | |
typedef boost::shared_ptr < topic_tools::ShapeShifter const > | AnyMsgConstPtr |
Definition at line 51 of file stealth_relay.h.
typedef boost::shared_ptr<topic_tools::ShapeShifter const> jsk_topic_tools::StealthRelay::AnyMsgConstPtr [private] |
Definition at line 53 of file stealth_relay.h.
bool jsk_topic_tools::StealthRelay::getNumOtherSubscribers | ( | const std::string & | name, |
int & | num | ||
) | [protected, virtual] |
Definition at line 131 of file stealth_relay_nodelet.cpp.
void jsk_topic_tools::StealthRelay::inputCallback | ( | const AnyMsgConstPtr & | msg | ) | [protected, virtual] |
Definition at line 95 of file stealth_relay_nodelet.cpp.
bool jsk_topic_tools::StealthRelay::isSubscribed | ( | ) | [protected, virtual] |
Definition at line 90 of file stealth_relay_nodelet.cpp.
void jsk_topic_tools::StealthRelay::onInit | ( | ) | [protected, virtual] |
Implements nodelet::Nodelet.
Definition at line 45 of file stealth_relay_nodelet.cpp.
void jsk_topic_tools::StealthRelay::subscribe | ( | ) | [protected, virtual] |
Definition at line 75 of file stealth_relay_nodelet.cpp.
void jsk_topic_tools::StealthRelay::timerCallback | ( | const ros::TimerEvent & | event | ) | [protected, virtual] |
Definition at line 110 of file stealth_relay_nodelet.cpp.
void jsk_topic_tools::StealthRelay::unsubscribe | ( | ) | [protected, virtual] |
Definition at line 83 of file stealth_relay_nodelet.cpp.
bool jsk_topic_tools::StealthRelay::advertised_ [protected] |
Definition at line 71 of file stealth_relay.h.
std::string jsk_topic_tools::StealthRelay::monitoring_topic_ [protected] |
Definition at line 68 of file stealth_relay.h.
boost::mutex jsk_topic_tools::StealthRelay::mutex_ [protected] |
Definition at line 63 of file stealth_relay.h.
boost::shared_ptr<ros::NodeHandle> jsk_topic_tools::StealthRelay::nh_ [protected] |
Reimplemented from nodelet::Nodelet.
Definition at line 64 of file stealth_relay.h.
boost::shared_ptr<ros::NodeHandle> jsk_topic_tools::StealthRelay::pnh_ [protected] |
Definition at line 64 of file stealth_relay.h.
ros::Timer jsk_topic_tools::StealthRelay::poll_timer_ [protected] |
Definition at line 67 of file stealth_relay.h.
ros::Publisher jsk_topic_tools::StealthRelay::pub_ [protected] |
Definition at line 65 of file stealth_relay.h.
int jsk_topic_tools::StealthRelay::queue_size_ [protected] |
Definition at line 69 of file stealth_relay.h.
ros::Subscriber jsk_topic_tools::StealthRelay::sub_ [protected] |
Definition at line 66 of file stealth_relay.h.
bool jsk_topic_tools::StealthRelay::subscribed_ [protected] |
Definition at line 70 of file stealth_relay.h.