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

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

#include <NaoJointsAnalyzer.h>

Inheritance diagram for diagnostic_aggregator::NaoJointsAnalyzer:
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)
 NaoJointsAnalyzer ()
std::vector< boost::shared_ptr
< diagnostic_msgs::DiagnosticStatus > > 
report ()
 ~NaoJointsAnalyzer ()

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 NaoJointsAnalyzer::JointData &a, const NaoJointsAnalyzer::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 NaoJointsAnalyzer.h.


Member Typedef Documentation

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

Definition at line 77 of file NaoJointsAnalyzer.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Implements diagnostic_aggregator::Analyzer.

Definition at line 62 of file NaoJointsAnalyzer.h.

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

Implements diagnostic_aggregator::Analyzer.

Definition at line 59 of file NaoJointsAnalyzer.h.

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

Member Data Documentation

Definition at line 78 of file NaoJointsAnalyzer.h.

Definition at line 68 of file NaoJointsAnalyzer.h.

Definition at line 70 of file NaoJointsAnalyzer.h.

Definition at line 67 of file NaoJointsAnalyzer.h.

Definition at line 67 of file NaoJointsAnalyzer.h.

Definition at line 69 of file NaoJointsAnalyzer.h.


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


nao_driver
Author(s): Armin Hornung, Armin Hornung, Stefan Osswald, Daniel Maier, Miguel Sarabia, Séverin Lemaignan
autogenerated on Mon Oct 6 2014 02:39:17