#include <diagnostics_common.hpp>
Public Member Functions | |
virtual void | add_test () |
BaseDiagnostics (std::string name, self_test::TestRunner *test_runner) | |
virtual void | parse_diagnostics (std::vector< diagnostic_msgs::KeyValue > values, short level, std::string full_name)=0 |
virtual void | run_test (diagnostic_updater::DiagnosticStatusWrapper &status) |
virtual std::auto_ptr < BaseDiagnostics > | shallow_clone (std::string name)=0 |
~BaseDiagnostics () | |
Public Attributes | |
std::string | full_name |
std::string | name |
Protected Member Functions | |
virtual std::pair< bool, std::string > | to_string_ ()=0 |
Protected Attributes | |
self_test::TestRunner * | test_runner_ |
Definition at line 111 of file diagnostics_common.hpp.
shadow_robot::BaseDiagnostics::BaseDiagnostics | ( | std::string | name, |
self_test::TestRunner * | test_runner | ||
) | [inline] |
Definition at line 114 of file diagnostics_common.hpp.
shadow_robot::BaseDiagnostics::~BaseDiagnostics | ( | ) | [inline] |
Definition at line 118 of file diagnostics_common.hpp.
virtual void shadow_robot::BaseDiagnostics::add_test | ( | ) | [inline, virtual] |
Definition at line 124 of file diagnostics_common.hpp.
virtual void shadow_robot::BaseDiagnostics::parse_diagnostics | ( | std::vector< diagnostic_msgs::KeyValue > | values, |
short | level, | ||
std::string | full_name | ||
) | [pure virtual] |
Implemented in shadow_robot::IsOKDiagnostics, and shadow_robot::MinMaxDiagnostics.
virtual void shadow_robot::BaseDiagnostics::run_test | ( | diagnostic_updater::DiagnosticStatusWrapper & | status | ) | [inline, virtual] |
Definition at line 129 of file diagnostics_common.hpp.
virtual std::auto_ptr<BaseDiagnostics> shadow_robot::BaseDiagnostics::shallow_clone | ( | std::string | name | ) | [pure virtual] |
virtual std::pair<bool, std::string> shadow_robot::BaseDiagnostics::to_string_ | ( | ) | [protected, pure virtual] |
Implemented in shadow_robot::IsOKDiagnostics, and shadow_robot::MinMaxDiagnostics.
std::string shadow_robot::BaseDiagnostics::full_name |
Definition at line 141 of file diagnostics_common.hpp.
std::string shadow_robot::BaseDiagnostics::name |
Definition at line 140 of file diagnostics_common.hpp.
Definition at line 144 of file diagnostics_common.hpp.