#include <vital_checker.h>
Public Types | |
typedef boost::shared_ptr < VitalChecker > | Ptr |
Public Member Functions | |
double | deadSec () |
bool | isAlive () |
double | lastAliveTimeRelative () |
void | poke () |
VitalChecker (const double dead_sec) | |
virtual | ~VitalChecker () |
Protected Attributes | |
double | dead_sec_ |
ros::Time | last_alive_time_ |
boost::mutex | mutex_ |
Definition at line 53 of file vital_checker.h.
typedef boost::shared_ptr<VitalChecker> jsk_topic_tools::VitalChecker::Ptr |
Definition at line 56 of file vital_checker.h.
jsk_topic_tools::VitalChecker::VitalChecker | ( | const double | dead_sec | ) |
Definition at line 40 of file vital_checker.cpp.
jsk_topic_tools::VitalChecker::~VitalChecker | ( | ) | [virtual] |
Definition at line 46 of file vital_checker.cpp.
double jsk_topic_tools::VitalChecker::deadSec | ( | ) |
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.
void jsk_topic_tools::VitalChecker::poke | ( | ) |
Definition at line 51 of file vital_checker.cpp.
double jsk_topic_tools::VitalChecker::dead_sec_ [protected] |
Definition at line 65 of file vital_checker.h.
Definition at line 64 of file vital_checker.h.
boost::mutex jsk_topic_tools::VitalChecker::mutex_ [protected] |
Definition at line 66 of file vital_checker.h.