18 #ifndef INFO_CONVERTER_HPP
19 #define INFO_CONVERTER_HPP
30 #include <naoqi_bridge_msgs/StringStamped.h>
41 typedef boost::function<void(naoqi_bridge_msgs::StringStamped)>
Callback_t;
50 void callAll(
const std::vector<message_actions::MessageAction>& actions );
58 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
60 naoqi_bridge_msgs::StringStamped
msg_;
std::string name() const
Definition: converter_base.hpp:54
float frequency() const
Definition: converter_base.hpp:59
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
Definition: info.cpp:64
MessageAction
Definition: message_actions.h:9
qi::AnyObject p_memory_
Definition: info.hpp:54
InfoConverter(const std::string &name, float frequency, const qi::SessionPtr &sessions)
Definition: info.cpp:36
std::map< message_actions::MessageAction, Callback_t > callbacks_
Definition: info.hpp:58
Definition: converter_base.hpp:40
boost::function< void(naoqi_bridge_msgs::StringStamped)> Callback_t
Definition: info.hpp:41
std::vector< std::string > keys_
Definition: info.hpp:57
void callAll(const std::vector< message_actions::MessageAction > &actions)
Definition: info.cpp:69
naoqi_bridge_msgs::StringStamped msg_
Definition: info.hpp:60
void reset()
Definition: info.cpp:60