Public Member Functions | List of all members
diagnostic_updater::Heartbeat Class Reference

Diagnostic task to monitor whether a node is alive. More...

#include <update_functions.h>

Inheritance diagram for diagnostic_updater::Heartbeat:
Inheritance graph
[legend]

Public Member Functions

 Heartbeat ()
 Constructs a HeartBeat. More...
 
virtual void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 Fills out this Task's DiagnosticStatusWrapper. More...
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 Constructs a DiagnosticTask setting its name in the process. More...
 
const std::string & getName ()
 Returns the name of the DiagnosticTask. More...
 
virtual ~DiagnosticTask ()
 

Detailed Description

Diagnostic task to monitor whether a node is alive.

This diagnostic task always reports as OK and 'Alive' when it runs

Definition at line 425 of file update_functions.h.

Constructor & Destructor Documentation

◆ Heartbeat()

diagnostic_updater::Heartbeat::Heartbeat ( )
inline

Constructs a HeartBeat.

Definition at line 432 of file update_functions.h.

Member Function Documentation

◆ run()

virtual void diagnostic_updater::Heartbeat::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Fills out this Task's DiagnosticStatusWrapper.

Implements diagnostic_updater::DiagnosticTask.

Definition at line 437 of file update_functions.h.


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


diagnostic_updater
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs, Blaise Gassend
autogenerated on Tue Nov 15 2022 03:17:19