Public Member Functions | Private Attributes | List of all members
xbot::BatteryTask Class Reference

#include <diagnostics_1.hpp>

Inheritance diagram for xbot::BatteryTask:
Inheritance graph
[legend]

Public Member Functions

 BatteryTask ()
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void update (const Battery &battery)
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::stringgetName ()
 
virtual ~DiagnosticTask ()
 

Private Attributes

Battery status
 

Detailed Description

Diagnostic checking the robot battery and charging status.

Definition at line 39 of file diagnostics_1.hpp.

Constructor & Destructor Documentation

xbot::BatteryTask::BatteryTask ( )
inline

Definition at line 41 of file diagnostics_1.hpp.

Member Function Documentation

void xbot::BatteryTask::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
virtual
void xbot::BatteryTask::update ( const Battery &  battery)
inline

Definition at line 43 of file diagnostics_1.hpp.

Member Data Documentation

Battery xbot::BatteryTask::status
private

Definition at line 46 of file diagnostics_1.hpp.


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


xbot_node
Author(s): Roc, wangpeng@droid.ac.cn
autogenerated on Sat Oct 10 2020 03:28:14