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

#include <relay_nodelet.h>

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

List of all members.

Public Types

typedef ros::MessageEvent
< topic_tools::ShapeShifter
ShapeShifterEvent

Public Member Functions

virtual void inputCallback (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg)
virtual void onInit ()

Protected Member Functions

virtual ros::Publisher advertise (boost::shared_ptr< topic_tools::ShapeShifter const > msg, const std::string &topic)
virtual bool changeOutputTopicCallback (jsk_topic_tools::ChangeTopic::Request &req, jsk_topic_tools::ChangeTopic::Response &res)
virtual void connectCb ()
virtual void disconnectCb ()
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)

Protected Attributes

ros::ServiceServer change_output_topic_srv_
ConnectionStatus connection_status_
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 Pointer to TimeredDiagnosticUpdater to call updateDiagnostic(diagnostic_updater::DiagnosticStatusWrapper&) periodically.
boost::mutex mutex_
std::string output_topic_name_
ros::NodeHandle pnh_
ros::Publisher pub_
boost::shared_ptr
< topic_tools::ShapeShifter
const > 
sample_msg_
ros::Subscriber sub_
VitalChecker::Ptr vital_checker_

Detailed Description

Definition at line 50 of file relay_nodelet.h.


Member Typedef Documentation

Definition at line 53 of file relay_nodelet.h.


Member Function Documentation

ros::Publisher jsk_topic_tools::Relay::advertise ( boost::shared_ptr< topic_tools::ShapeShifter const >  msg,
const std::string &  topic 
) [protected, virtual]

Definition at line 145 of file relay_nodelet.cpp.

bool jsk_topic_tools::Relay::changeOutputTopicCallback ( jsk_topic_tools::ChangeTopic::Request &  req,
jsk_topic_tools::ChangeTopic::Response &  res 
) [protected, virtual]

Definition at line 163 of file relay_nodelet.cpp.

void jsk_topic_tools::Relay::connectCb ( ) [protected, virtual]

Definition at line 114 of file relay_nodelet.cpp.

void jsk_topic_tools::Relay::disconnectCb ( ) [protected, virtual]

Definition at line 130 of file relay_nodelet.cpp.

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

Reimplemented in jsk_topic_tools::DeprecatedRelay.

Definition at line 94 of file relay_nodelet.cpp.

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

Implements nodelet::Nodelet.

Definition at line 40 of file relay_nodelet.cpp.

Definition at line 65 of file relay_nodelet.cpp.


Member Data Documentation

Definition at line 74 of file relay_nodelet.h.

Definition at line 72 of file relay_nodelet.h.

boost::mutex jsk_topic_tools::Relay::mutex_ [protected]

Definition at line 69 of file relay_nodelet.h.

Definition at line 68 of file relay_nodelet.h.

Definition at line 73 of file relay_nodelet.h.

Definition at line 70 of file relay_nodelet.h.

boost::shared_ptr<topic_tools::ShapeShifter const> jsk_topic_tools::Relay::sample_msg_ [protected]

Definition at line 67 of file relay_nodelet.h.

Definition at line 71 of file relay_nodelet.h.

Definition at line 81 of file relay_nodelet.h.


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


jsk_topic_tools
Author(s): Kei Okada , Yusuke Furuta
autogenerated on Fri Sep 8 2017 03:38:56