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

#include <vital_checker.h>

List of all members.

Public Types

typedef boost::shared_ptr
< VitalChecker

Public Member Functions

double deadSec ()
bool isAlive ()
double lastAliveTimeRelative ()
void poke ()
void registerStatInfo (diagnostic_updater::DiagnosticStatusWrapper &stat, const std::string &prefix=std::string("last_poked_time"))
 VitalChecker (const double dead_sec)
virtual ~VitalChecker ()

Protected Attributes

double dead_sec_
ros::Time last_alive_time_
boost::mutex mutex_

Detailed Description

Definition at line 55 of file vital_checker.h.

Member Typedef Documentation

Definition at line 58 of file vital_checker.h.

Constructor & Destructor Documentation

jsk_topic_tools::VitalChecker::VitalChecker ( const double  dead_sec)

Definition at line 40 of file vital_checker.cpp.

Definition at line 46 of file vital_checker.cpp.

Member Function Documentation

Definition at line 72 of file vital_checker.cpp.

Definition at line 62 of file vital_checker.cpp.

Definition at line 57 of file vital_checker.cpp.

Definition at line 51 of file vital_checker.cpp.

void jsk_topic_tools::VitalChecker::registerStatInfo ( diagnostic_updater::DiagnosticStatusWrapper stat,
const std::string &  prefix = std::string("last_poked_time") 

Definition at line 77 of file vital_checker.cpp.

Member Data Documentation

Definition at line 69 of file vital_checker.h.

Definition at line 68 of file vital_checker.h.

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

Definition at line 70 of file vital_checker.h.

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

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