#include <audio.hpp>
Public Member Functions | |
AudioEventConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session) | |
void | callAll (const std::vector< message_actions::MessageAction > &actions, naoqi_bridge_msgs::AudioBuffer &msg) |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
virtual void | reset () |
~AudioEventConverter () | |
Private Types | |
typedef boost::function< void(naoqi_bridge_msgs::AudioBuffer &) > | Callback_t |
Private Attributes | |
std::map < message_actions::MessageAction, Callback_t > | callbacks_ |
naoqi_bridge_msgs::AudioBuffer | msg_ |
Definition at line 41 of file converters/audio.hpp.
typedef boost::function<void(naoqi_bridge_msgs::AudioBuffer&) > naoqi::converter::AudioEventConverter::Callback_t [private] |
Definition at line 44 of file converters/audio.hpp.
naoqi::converter::AudioEventConverter::AudioEventConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session | ||
) |
Definition at line 33 of file converters/audio.cpp.
Definition at line 38 of file converters/audio.cpp.
void naoqi::converter::AudioEventConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions, |
naoqi_bridge_msgs::AudioBuffer & | msg | ||
) |
Definition at line 50 of file converters/audio.cpp.
void naoqi::converter::AudioEventConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
Definition at line 45 of file converters/audio.cpp.
void naoqi::converter::AudioEventConverter::reset | ( | ) | [virtual] |
Definition at line 41 of file converters/audio.cpp.
std::map<message_actions::MessageAction, Callback_t> naoqi::converter::AudioEventConverter::callbacks_ [private] |
Registered Callbacks
Definition at line 59 of file converters/audio.hpp.
naoqi_bridge_msgs::AudioBuffer naoqi::converter::AudioEventConverter::msg_ [private] |
Definition at line 60 of file converters/audio.hpp.