#include <diagnostics.hpp>
Public Member Functions | |
bool | isAlive () const |
void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
void | update (const bool &is_alive) |
WatchdogTask () | |
Private Attributes | |
bool | alive |
Simple diagnostic checking to see if kobuki is streaming data or not.
Definition at line 52 of file diagnostics.hpp.
kobuki::WatchdogTask::WatchdogTask | ( | ) | [inline] |
Definition at line 54 of file diagnostics.hpp.
bool kobuki::WatchdogTask::isAlive | ( | ) | const [inline] |
Definition at line 57 of file diagnostics.hpp.
void kobuki::WatchdogTask::run | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [virtual] |
Implements diagnostic_updater::DiagnosticTask.
Definition at line 84 of file diagnostics.cpp.
void kobuki::WatchdogTask::update | ( | const bool & | is_alive | ) | [inline] |
Definition at line 56 of file diagnostics.hpp.
bool kobuki::WatchdogTask::alive [private] |
Definition at line 60 of file diagnostics.hpp.