26 #include <boost/foreach.hpp> 27 #define for_each BOOST_FOREACH boost::function< void(naoqi_bridge_msgs::AudioBuffer &) > Callback_t
std::map< message_actions::MessageAction, Callback_t > callbacks_
naoqi_bridge_msgs::AudioBuffer msg_
AudioEventConverter(const std::string &name, const float &frequency, const qi::SessionPtr &session)
void registerCallback(const message_actions::MessageAction action, Callback_t cb)
void callAll(const std::vector< message_actions::MessageAction > &actions, naoqi_bridge_msgs::AudioBuffer &msg)