Classes | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes
diagnostic_aggregator::NaoqiJointsAnalyzer Class Reference

Analyzes diagnostic messages about Nao's joints from nao_diagnostic/nao_diagnostic_updater. More...

#include <naoqi_joints_analyzer.h>

Inheritance diagram for diagnostic_aggregator::NaoqiJointsAnalyzer:
Inheritance graph
[legend]

List of all members.

Classes

struct  JointData

Public Member Functions

bool analyze (const boost::shared_ptr< StatusItem > item)
std::string getName () const
std::string getPath () const
bool init (const std::string base_name, const ros::NodeHandle &n)
bool match (const std::string name)
 NaoqiJointsAnalyzer ()
std::vector< boost::shared_ptr
< diagnostic_msgs::DiagnosticStatus > > 
report ()
 ~NaoqiJointsAnalyzer ()

Private Types

typedef std::map< std::string,
JointData
JointsMapType

Private Member Functions

template<typename T >
void addValue (boost::shared_ptr< diagnostic_msgs::DiagnosticStatus > joint_stat, const std::string &key, const T &value) const

Static Private Member Functions

static bool compareByTemperature (const NaoqiJointsAnalyzer::JointData &a, const NaoqiJointsAnalyzer::JointData &b)

Private Attributes

JointsMapType m_joints
boost::shared_ptr< StatusItemm_jointsMasterItem
ros::Time m_lastSeen
std::string m_niceName
std::string m_path
boost::shared_ptr< StatusItemm_statusItems

Detailed Description

Analyzes diagnostic messages about Nao's joints from nao_diagnostic/nao_diagnostic_updater.

Definition at line 51 of file naoqi_joints_analyzer.h.


Member Typedef Documentation

typedef std::map<std::string, JointData> diagnostic_aggregator::NaoqiJointsAnalyzer::JointsMapType [private]

Definition at line 77 of file naoqi_joints_analyzer.h.


Constructor & Destructor Documentation


Member Function Documentation

template<typename T >
void diagnostic_aggregator::NaoqiJointsAnalyzer::addValue ( boost::shared_ptr< diagnostic_msgs::DiagnosticStatus >  joint_stat,
const std::string &  key,
const T &  value 
) const [private]
bool diagnostic_aggregator::NaoqiJointsAnalyzer::analyze ( const boost::shared_ptr< StatusItem item) [virtual]
std::string diagnostic_aggregator::NaoqiJointsAnalyzer::getName ( ) const [inline, virtual]

Implements diagnostic_aggregator::Analyzer.

Definition at line 62 of file naoqi_joints_analyzer.h.

std::string diagnostic_aggregator::NaoqiJointsAnalyzer::getPath ( ) const [inline, virtual]

Implements diagnostic_aggregator::Analyzer.

Definition at line 59 of file naoqi_joints_analyzer.h.

bool diagnostic_aggregator::NaoqiJointsAnalyzer::init ( const std::string  base_name,
const ros::NodeHandle n 
) [virtual]
bool diagnostic_aggregator::NaoqiJointsAnalyzer::match ( const std::string  name) [virtual]
std::vector<boost::shared_ptr<diagnostic_msgs::DiagnosticStatus> > diagnostic_aggregator::NaoqiJointsAnalyzer::report ( ) [virtual]

Member Data Documentation

Definition at line 78 of file naoqi_joints_analyzer.h.

Definition at line 68 of file naoqi_joints_analyzer.h.

Definition at line 70 of file naoqi_joints_analyzer.h.

Definition at line 67 of file naoqi_joints_analyzer.h.

Definition at line 67 of file naoqi_joints_analyzer.h.

Definition at line 69 of file naoqi_joints_analyzer.h.


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


naoqi_driver
Author(s): Armin Hornung, Armin Hornung, Stefan Osswald, Daniel Maier, Miguel Sarabia, Severin Lemaignan
autogenerated on Fri Jul 3 2015 12:51:45