naoqidriver
|
#include <audio.hpp>
Public Member Functions | |
AudioEventConverter (const std::string &name, const float &frequency, const qi::SessionPtr &session) | |
~AudioEventConverter () | |
virtual void | reset () |
void | registerCallback (const message_actions::MessageAction action, Callback_t cb) |
void | callAll (const std::vector< message_actions::MessageAction > &actions, naoqi_bridge_msgs::AudioBuffer &msg) |
Public Member Functions inherited from naoqi::converter::BaseConverter< AudioEventConverter > | |
BaseConverter (const std::string &name, float frequency, qi::SessionPtr session) | |
virtual | ~BaseConverter () |
std::string | name () const |
float | frequency () const |
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_ |
Additional Inherited Members | |
Protected Attributes inherited from naoqi::converter::BaseConverter< AudioEventConverter > | |
std::string | name_ |
float | frequency_ |
const robot::Robot & | robot_ |
qi::SessionPtr | session_ |
bool | record_enabled_ |
|
private |
naoqi::converter::AudioEventConverter::AudioEventConverter | ( | const std::string & | name, |
const float & | frequency, | ||
const qi::SessionPtr & | session | ||
) |
naoqi::converter::AudioEventConverter::~AudioEventConverter | ( | ) |
void naoqi::converter::AudioEventConverter::callAll | ( | const std::vector< message_actions::MessageAction > & | actions, |
naoqi_bridge_msgs::AudioBuffer & | msg | ||
) |
void naoqi::converter::AudioEventConverter::registerCallback | ( | const message_actions::MessageAction | action, |
Callback_t | cb | ||
) |
|
virtual |
|
private |
Registered Callbacks
|
private |