Public Member Functions | Private Member Functions | Private Attributes | List of all members
roch_base::rochSoftwareDiagnosticTask Class Reference

#include <roch_diagnostics.h>

Inheritance diagram for roch_base::rochSoftwareDiagnosticTask:
Inheritance graph
[legend]

Public Member Functions

 rochSoftwareDiagnosticTask (roch_msgs::RochStatus &msg, double target_control_freq)
 
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void updateControlFrequency (double frequency)
 
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
 
const std::stringgetName ()
 
virtual ~DiagnosticTask ()
 

Private Member Functions

void reset ()
 

Private Attributes

double control_freq_
 
roch_msgs::RochStatus & msg_
 
double target_control_freq_
 

Detailed Description

Definition at line 44 of file roch_diagnostics.h.

Constructor & Destructor Documentation

roch_base::rochSoftwareDiagnosticTask::rochSoftwareDiagnosticTask ( roch_msgs::RochStatus &  msg,
double  target_control_freq 
)
explicit

Definition at line 224 of file roch_diagnostics.cpp.

Member Function Documentation

void roch_base::rochSoftwareDiagnosticTask::reset ( )
private

Definition at line 257 of file roch_diagnostics.cpp.

void roch_base::rochSoftwareDiagnosticTask::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
virtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 239 of file roch_diagnostics.cpp.

void roch_base::rochSoftwareDiagnosticTask::updateControlFrequency ( double  frequency)

Definition at line 233 of file roch_diagnostics.cpp.

Member Data Documentation

double roch_base::rochSoftwareDiagnosticTask::control_freq_
private

Definition at line 57 of file roch_diagnostics.h.

roch_msgs::RochStatus& roch_base::rochSoftwareDiagnosticTask::msg_
private

Definition at line 58 of file roch_diagnostics.h.

double roch_base::rochSoftwareDiagnosticTask::target_control_freq_
private

Definition at line 57 of file roch_diagnostics.h.


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


roch_base
Author(s): Mike Purvis , Paul Bovbel , Chen
autogenerated on Mon Jun 10 2019 14:41:14