Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_topic_tools::Relay Class Reference

#include <relay_nodelet.h>

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

Public Types

typedef ros::MessageEvent< topic_tools::ShapeShifterShapeShifterEvent
 

Public Member Functions

virtual void inputCallback (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg)
 
virtual void onInit ()
 
- 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 ()
 

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 Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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. More...
 
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 
)
protectedvirtual

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 
)
protectedvirtual

Definition at line 163 of file relay_nodelet.cpp.

void jsk_topic_tools::Relay::connectCb ( )
protectedvirtual

Definition at line 114 of file relay_nodelet.cpp.

void jsk_topic_tools::Relay::disconnectCb ( )
protectedvirtual

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.

void jsk_topic_tools::Relay::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Definition at line 65 of file relay_nodelet.cpp.

Member Data Documentation

ros::ServiceServer jsk_topic_tools::Relay::change_output_topic_srv_
protected

Definition at line 74 of file relay_nodelet.h.

ConnectionStatus jsk_topic_tools::Relay::connection_status_
protected

Definition at line 72 of file relay_nodelet.h.

TimeredDiagnosticUpdater::Ptr jsk_topic_tools::Relay::diagnostic_updater_
protected
boost::mutex jsk_topic_tools::Relay::mutex_
protected

Definition at line 69 of file relay_nodelet.h.

std::string jsk_topic_tools::Relay::output_topic_name_
protected

Definition at line 68 of file relay_nodelet.h.

ros::NodeHandle jsk_topic_tools::Relay::pnh_
protected

Definition at line 73 of file relay_nodelet.h.

ros::Publisher jsk_topic_tools::Relay::pub_
protected

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.

ros::Subscriber jsk_topic_tools::Relay::sub_
protected

Definition at line 71 of file relay_nodelet.h.

VitalChecker::Ptr jsk_topic_tools::Relay::vital_checker_
protected

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 Tue Feb 6 2018 03:45:19