Public Member Functions | Private Types | Private Attributes
naoqi::converter::AudioEventConverter Class Reference

#include <audio.hpp>

Inheritance diagram for naoqi::converter::AudioEventConverter:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 41 of file converters/audio.hpp.


Member Typedef Documentation

typedef boost::function<void(naoqi_bridge_msgs::AudioBuffer&) > naoqi::converter::AudioEventConverter::Callback_t [private]

Definition at line 44 of file converters/audio.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 45 of file converters/audio.cpp.

Definition at line 41 of file converters/audio.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sun Sep 17 2017 02:57:14