Public Member Functions | Static Private Member Functions | Private Attributes
canopen::Logger Class Reference

#include <ros_chain.h>

Inheritance diagram for canopen::Logger:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 60 of file ros_chain.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool canopen::Logger::add ( uint8_t  level,
const std::string &  key,
bool  forced 
) [inline]

Definition at line 78 of file ros_chain.h.

template<typename T >
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.


Member Data Documentation

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.


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


canopen_chain_node
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:52