26 #include <boost/foreach.hpp> 27 #define for_each BOOST_FOREACH 36 memory_key_(memory_key),
37 p_memory_( session->service(
"ALMemory") )
55 catch(
const std::exception& e )
57 std::cerr <<
"Exception caught in MemoryFloatConverter " << e.what() << std::endl;
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)