#include <SoundOutputAgent.h>
Inherits MicoleAgent.
Collaboration diagram for SoundOutputAgent:

Definition at line 93 of file SoundOutputAgent.h.
Public Types | |
| typedef pair< string, SoundSource * > | pair_soundname_to_soundsource |
Public Member Functions | |
| SoundOutputAgent (const string &lan) | |
| void | handlePlaySoundMessage (MicoleBus *app, int argc, const char **argv) |
| void | handleStopSoundMessage (MicoleBus *app, int argc, const char **argv) |
| void | handlePauseSoundMessage (MicoleBus *app, int argc, const char **argv) |
| void | handleCancelSoundMessage (MicoleBus *app, int argc, const char **argv) |
| void | setGain (string soundname, float gain) |
| void | setPitch (string soundname, float pitch) |
| void | setLoop (string soundname, bool loop) |
| void | createSound (const string &soundname, const string &language) |
Public Attributes | |
| string | language |
| SoundSource * | sound |
| map< string, SoundSource * > | nameToSound |
| Display * | dis |
| typedef pair< string, SoundSource* > SoundOutputAgent::pair_soundname_to_soundsource |
Definition at line 108 of file SoundOutputAgent.h.
| SoundOutputAgent::SoundOutputAgent | ( | const string & | lan | ) |
Definition at line 28 of file SoundOutputAgent.cpp.
| void SoundOutputAgent::createSound | ( | const string & | soundname, | |
| const string & | language | |||
| ) | [inline] |
Definition at line 120 of file SoundOutputAgent.h.
| void SoundOutputAgent::handleCancelSoundMessage | ( | MicoleBus * | app, | |
| int | argc, | |||
| const char ** | argv | |||
| ) |
| void SoundOutputAgent::handlePauseSoundMessage | ( | MicoleBus * | app, | |
| int | argc, | |||
| const char ** | argv | |||
| ) |
| void SoundOutputAgent::handlePlaySoundMessage | ( | MicoleBus * | app, | |
| int | argc, | |||
| const char ** | argv | |||
| ) |
| void SoundOutputAgent::handleStopSoundMessage | ( | MicoleBus * | app, | |
| int | argc, | |||
| const char ** | argv | |||
| ) |
| void SoundOutputAgent::setGain | ( | string | soundname, | |
| float | gain | |||
| ) |
Definition at line 125 of file SoundOutputAgent.cpp.
| void SoundOutputAgent::setLoop | ( | string | soundname, | |
| bool | loop | |||
| ) |
Definition at line 143 of file SoundOutputAgent.cpp.
| void SoundOutputAgent::setPitch | ( | string | soundname, | |
| float | pitch | |||
| ) |
Definition at line 134 of file SoundOutputAgent.cpp.
| Display* SoundOutputAgent::dis |
Definition at line 109 of file SoundOutputAgent.h.
| string SoundOutputAgent::language |
Definition at line 104 of file SoundOutputAgent.h.
| map< string, SoundSource* > SoundOutputAgent::nameToSound |
Definition at line 107 of file SoundOutputAgent.h.
| SoundSource* SoundOutputAgent::sound |
Definition at line 106 of file SoundOutputAgent.h.
1.4.7