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 MemoryIntConverter " << e.what() << std::endl;
naoqi_bridge_msgs::IntStamped msg_
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
boost::function< void(naoqi_bridge_msgs::IntStamped &)> Callback_t
void callAll(const std::vector< message_actions::MessageAction > &actions)
MemoryIntConverter(const std::string &name, const float &frequency, const qi::SessionPtr &session, const std::string &memory_key)
std::map< message_actions::MessageAction, Callback_t > callbacks_