Public Member Functions | Private Types | Private Member Functions | Private Attributes
naoqi::converter::LogConverter Class Reference

#include <log.hpp>

Inheritance diagram for naoqi::converter::LogConverter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void callAll (const std::vector< message_actions::MessageAction > &actions)
 LogConverter (const std::string &name, float frequency, const qi::SessionPtr &sessions)
void registerCallback (const message_actions::MessageAction action, Callback_t cb)
void reset ()

Private Types

typedef boost::function< void(rosgraph_msgs::Log &) > Callback_t

Private Member Functions

void set_qi_logger_level ()

Private Attributes

std::map
< message_actions::MessageAction,
Callback_t
callbacks_
qi::LogListenerPtr listener_
qi::LogLevel log_level_
qi::LogManagerPtr logger_

Detailed Description

Definition at line 34 of file converters/log.hpp.


Member Typedef Documentation

typedef boost::function<void(rosgraph_msgs::Log&) > naoqi::converter::LogConverter::Callback_t [private]

Definition at line 37 of file converters/log.hpp.


Constructor & Destructor Documentation

naoqi::converter::LogConverter::LogConverter ( const std::string &  name,
float  frequency,
const qi::SessionPtr &  sessions 
)

Definition at line 110 of file converters/log.cpp.


Member Function Documentation

Definition at line 135 of file converters/log.cpp.

Definition at line 130 of file converters/log.cpp.

Definition at line 152 of file converters/log.cpp.

Function that sets the NAOqi log level to the ROS one

Definition at line 156 of file converters/log.cpp.


Member Data Documentation

Definition at line 57 of file converters/log.hpp.

qi::LogListenerPtr naoqi::converter::LogConverter::listener_ [private]

Definition at line 55 of file converters/log.hpp.

Log level that is currently translated to ROS

Definition at line 54 of file converters/log.hpp.

qi::LogManagerPtr naoqi::converter::LogConverter::logger_ [private]

Definition at line 52 of file converters/log.hpp.


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


naoqi_driver
Author(s): Karsten Knese
autogenerated on Tue Jul 9 2019 03:21:56