Public Member Functions | Private Attributes | List of all members
kobuki::WatchdogTask Class Reference

#include <diagnostics.hpp>

Inheritance diagram for kobuki::WatchdogTask:
Inheritance graph
[legend]

Public Member Functions

bool isAlive () const
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void update (const bool &is_alive)
 
 WatchdogTask ()
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::stringgetName ()
 
virtual ~DiagnosticTask ()
 

Private Attributes

bool alive
 

Detailed Description

Simple diagnostic checking to see if kobuki is streaming data or not.

Definition at line 52 of file diagnostics.hpp.

Constructor & Destructor Documentation

kobuki::WatchdogTask::WatchdogTask ( )
inline

Definition at line 54 of file diagnostics.hpp.

Member Function Documentation

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.

Member Data Documentation

bool kobuki::WatchdogTask::alive
private

Definition at line 60 of file diagnostics.hpp.


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


kobuki_node
Author(s): Daniel Stonier, Younghun Ju, Jorge Santos Simon
autogenerated on Mon Jun 10 2019 13:45:13