#include <ros_chain.h>
Public Member Functions | |
bool | add (uint8_t level, const std::string &key, bool forced) |
template<typename T > | |
void | add (const boost::shared_ptr< T > &n) |
virtual void | log (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Logger (boost::shared_ptr< canopen::Node > node) | |
virtual | ~Logger () |
Static Private Member Functions | |
static void | log_entry (diagnostic_updater::DiagnosticStatusWrapper &stat, uint8_t level, const std::string &name, boost::function< std::string()> getter) |
Private Attributes | |
std::vector< boost::function < void(diagnostic_updater::DiagnosticStatusWrapper &)> > | entries_ |
const boost::shared_ptr < canopen::Node > | node_ |
Definition at line 60 of file ros_chain.h.
canopen::Logger::Logger | ( | boost::shared_ptr< canopen::Node > | node | ) | [inline] |
Definition at line 76 of file ros_chain.h.
virtual canopen::Logger::~Logger | ( | ) | [inline, virtual] |
Definition at line 111 of file ros_chain.h.
bool canopen::Logger::add | ( | uint8_t | level, |
const std::string & | key, | ||
bool | forced | ||
) | [inline] |
Definition at line 78 of file ros_chain.h.
void canopen::Logger::add | ( | const boost::shared_ptr< T > & | n | ) | [inline, virtual] |
Reimplemented from canopen::VectorHelper< T >.
Definition at line 92 of file ros_chain.h.
virtual void canopen::Logger::log | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [inline, virtual] |
Definition at line 96 of file ros_chain.h.
static void canopen::Logger::log_entry | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat, |
uint8_t | level, | ||
const std::string & | name, | ||
boost::function< std::string()> | getter | ||
) | [inline, static, private] |
Definition at line 65 of file ros_chain.h.
std::vector<boost::function< void (diagnostic_updater::DiagnosticStatusWrapper &)> > canopen::Logger::entries_ [private] |
Definition at line 63 of file ros_chain.h.
const boost::shared_ptr<canopen::Node> canopen::Logger::node_ [private] |
Definition at line 61 of file ros_chain.h.