18 #ifndef CONVERTERS_LOG_HPP
19 #define CONVERTERS_LOG_HPP
21 #include <rosgraph_msgs/Log.h>
26 #include <qicore/logmanager.hpp>
27 #include <qicore/loglistener.hpp>
37 typedef boost::function<void(rosgraph_msgs::Log&) >
Callback_t;
46 void callAll(
const std::vector<message_actions::MessageAction>& actions );
57 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
void set_qi_logger_level()
Definition: log.cpp:156
std::string name() const
Definition: converter_base.hpp:54
float frequency() const
Definition: converter_base.hpp:59
qi::LogLevel log_level_
Definition: log.hpp:54
void callAll(const std::vector< message_actions::MessageAction > &actions)
Definition: log.cpp:135
boost::function< void(rosgraph_msgs::Log &) > Callback_t
Definition: log.hpp:37
void reset()
Definition: log.cpp:152
MessageAction
Definition: message_actions.h:9
std::map< message_actions::MessageAction, Callback_t > callbacks_
Definition: log.hpp:57
LogConverter(const std::string &name, float frequency, const qi::SessionPtr &sessions)
Definition: log.cpp:110
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
Definition: log.cpp:130
Definition: converter_base.hpp:40
qi::LogManagerPtr logger_
Definition: log.hpp:52
qi::LogListenerPtr listener_
Definition: log.hpp:55