Diagnostic task to monitor whether a node is alive. More...
#include <update_functions.h>
Public Member Functions | |
Heartbeat () | |
Constructs a HeartBeat. | |
virtual void | run (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Fills out this Task's DiagnosticStatusWrapper. |
Diagnostic task to monitor whether a node is alive.
This diagnostic task always reports as OK and 'Alive' when it runs
Definition at line 415 of file update_functions.h.
diagnostic_updater::Heartbeat::Heartbeat | ( | ) | [inline] |
Constructs a HeartBeat.
Definition at line 422 of file update_functions.h.
virtual void diagnostic_updater::Heartbeat::run | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [inline, virtual] |
Fills out this Task's DiagnosticStatusWrapper.
Implements diagnostic_updater::DiagnosticTask.
Definition at line 427 of file update_functions.h.