All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
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 22 of file NaoJointsAnalyzer.h.


Member Typedef Documentation

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

Definition at line 48 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 33 of file NaoJointsAnalyzer.h.

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

Implements diagnostic_aggregator::Analyzer.

Definition at line 30 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 49 of file NaoJointsAnalyzer.h.

Definition at line 39 of file NaoJointsAnalyzer.h.

Definition at line 41 of file NaoJointsAnalyzer.h.

Definition at line 38 of file NaoJointsAnalyzer.h.

Definition at line 38 of file NaoJointsAnalyzer.h.

Definition at line 40 of file NaoJointsAnalyzer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


nao_dashboard
Author(s): Stefan Osswald
autogenerated on Tue Oct 15 2013 10:07:28