Public Types | Public Member Functions | Static Public Attributes | Private Types | Private Attributes
twist_mux::TwistMuxDiagnostics Class Reference

#include <twist_mux_diagnostics.h>

List of all members.

Public Types

typedef TwistMuxDiagnosticsStatus status_type

Public Member Functions

void diagnostics (diagnostic_updater::DiagnosticStatusWrapper &stat)
 TwistMuxDiagnostics ()
void update ()
void updateStatus (const status_type::ConstPtr &status)
virtual ~TwistMuxDiagnostics ()

Static Public Attributes

static constexpr double MAIN_LOOP_TIME_MIN = 0.2
static constexpr double READING_AGE_MIN = 3.0

Private Types

enum  { OK = diagnostic_msgs::DiagnosticStatus::OK, WARN = diagnostic_msgs::DiagnosticStatus::WARN, ERROR = diagnostic_msgs::DiagnosticStatus::ERROR }
 Levels. More...

Private Attributes

diagnostic_updater::Updater diagnostic_
status_type status_

Detailed Description

Definition at line 34 of file twist_mux_diagnostics.h.


Member Typedef Documentation

Definition at line 37 of file twist_mux_diagnostics.h.


Member Enumeration Documentation

anonymous enum [private]

Levels.

Enumerator:
OK 
WARN 
ERROR 

Definition at line 56 of file twist_mux_diagnostics.h.


Constructor & Destructor Documentation

Definition at line 29 of file twist_mux_diagnostics.cpp.

Definition at line 35 of file twist_mux_diagnostics.cpp.


Member Function Documentation

Check if the loop period is quick enough

Definition at line 57 of file twist_mux_diagnostics.cpp.

Definition at line 38 of file twist_mux_diagnostics.cpp.

Definition at line 43 of file twist_mux_diagnostics.cpp.


Member Data Documentation

Definition at line 63 of file twist_mux_diagnostics.h.

constexpr double twist_mux::TwistMuxDiagnostics::MAIN_LOOP_TIME_MIN = 0.2 [static]

Definition at line 39 of file twist_mux_diagnostics.h.

constexpr double twist_mux::TwistMuxDiagnostics::READING_AGE_MIN = 3.0 [static]

Definition at line 40 of file twist_mux_diagnostics.h.

Definition at line 64 of file twist_mux_diagnostics.h.


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


twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Mon Mar 14 2016 10:21:12