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_;
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
InfoConverter(const std::string &name, float frequency, const qi::SessionPtr &sessions)
std::map< message_actions::MessageAction, Callback_t > callbacks_
boost::function< void(naoqi_bridge_msgs::StringStamped)> Callback_t
std::vector< std::string > keys_
void callAll(const std::vector< message_actions::MessageAction > &actions)
naoqi_bridge_msgs::StringStamped msg_