Public Member Functions | Protected Member Functions | Protected Attributes
jsk_topic_tools::VitalCheckerNodelet Class Reference

#include <vital_checker_nodelet.h>

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

List of all members.

Public Member Functions

 VitalCheckerNodelet ()

Protected Member Functions

virtual void inputCallback (const boost::shared_ptr< topic_tools::ShapeShifter const > &msg)
virtual void onInit ()
 Initialize method. Subclass should call this method in its onInit method.
virtual void subscribe ()
 This method is called when publisher is subscribed by other nodes. Set up subscribers in this method.
virtual void unsubscribe ()
 This method is called when publisher is unsubscribed by other nodes. Shut down subscribers in this method.
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 Method which is called periodically.

Protected Attributes

boost::mutex mutex_
ros::Subscriber sub_
std::string title_

Detailed Description

Definition at line 45 of file vital_checker_nodelet.h.


Constructor & Destructor Documentation

Definition at line 48 of file vital_checker_nodelet.h.


Member Function Documentation

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

Definition at line 66 of file vital_checker_nodelet.cpp.

void jsk_topic_tools::VitalCheckerNodelet::onInit ( ) [protected, virtual]

Initialize method. Subclass should call this method in its onInit method.

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 41 of file vital_checker_nodelet.cpp.

void jsk_topic_tools::VitalCheckerNodelet::subscribe ( ) [protected, virtual]

This method is called when publisher is subscribed by other nodes. Set up subscribers in this method.

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 56 of file vital_checker_nodelet.cpp.

This method is called when publisher is unsubscribed by other nodes. Shut down subscribers in this method.

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 61 of file vital_checker_nodelet.cpp.

Method which is called periodically.

In default, it check vitality of vital_checker_ and if vital_checker_ is not poked for seconds, diagnostic status will be ERROR.

Parameters:
statModofy stat to change status of diagnostic information.

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 73 of file vital_checker_nodelet.cpp.


Member Data Documentation

Definition at line 65 of file vital_checker_nodelet.h.

Definition at line 63 of file vital_checker_nodelet.h.

Definition at line 64 of file vital_checker_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