18 #ifndef MEMORY_FLOAT_CONVERTER_HPP 19 #define MEMORY_FLOAT_CONVERTER_HPP 24 #include "../converter_base.hpp" 30 #include <naoqi_bridge_msgs/FloatStamped.h> 39 typedef boost::function<void(naoqi_bridge_msgs::FloatStamped&)>
Callback_t;
49 void callAll(
const std::vector<message_actions::MessageAction>& actions );
60 std::map<message_actions::MessageAction, Callback_t>
callbacks_;
61 naoqi_bridge_msgs::FloatStamped
msg_;
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
MemoryFloatConverter(const std::string &name, const float &frequency, const qi::SessionPtr &session, const std::string &memory_key)
std::map< message_actions::MessageAction, Callback_t > callbacks_
boost::function< void(naoqi_bridge_msgs::FloatStamped &)> Callback_t
naoqi_bridge_msgs::FloatStamped msg_
void callAll(const std::vector< message_actions::MessageAction > &actions)