SoundOutputAgent Class Reference

#include <SoundOutputAgent.h>

Inherits MicoleAgent.

Collaboration diagram for SoundOutputAgent:

Collaboration graph
[legend]
List of all members.

Detailed Description

! Please note that there should be exactly 1 whitespace between the

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


Member Typedef Documentation

typedef pair< string, SoundSource* > SoundOutputAgent::pair_soundname_to_soundsource

Definition at line 108 of file SoundOutputAgent.h.


Constructor & Destructor Documentation

SoundOutputAgent::SoundOutputAgent ( const string &  lan  ) 

Definition at line 28 of file SoundOutputAgent.cpp.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Tue Oct 16 17:11:10 2007 for Micole by  doxygen 1.4.7