Page principale   Liste des namespaces   Hiérarchie des classes   Liste par ordre alphabétique   Liste des composants   Liste des fichiers   Composants   Déclarations  

Référence de la classe ExManagerSound

#include <ExManagerSound.h>


Membres publics

 ExManagerSound (void)
 ~ExManagerSound (void)
void SetManagerId (ExManagerId *Id)
bool Init (void)
void DisplayAviableInput (void)
void ListAllSound (void)
bool LoadSound (std::string)
bool RemoveSound (std::string)
void PlaySound (std::string)
void StopSound (std::string)
int GetSound (std::string)
void Reset (void)

Attributs Publics

std::ostrstream * Consol
void(* WriteToConsol )(const char *Label)

Attributs Privés

ExManagerIdManagerId
ALCcontext * context_id
ALCdevice * dev


Documentation des contructeurs et destructeurs

ExManagerSound void   
 

Définition à la ligne 26 du fichier ExManagerSound.cpp.

00026                                     {
00027 
00028 }

~ExManagerSound void   
 

Définition à la ligne 30 du fichier ExManagerSound.cpp.

Références context_id.

00030                                      {
00031         alcDestroyContext (context_id);
00032 }


Documentation des méthodes

void DisplayAviableInput void   
 

Définition à la ligne 54 du fichier ExManagerSound.cpp.

Références Consol, DisplayAviableInput(), Guard, et UnGuard.

Référencé par DisplayAviableInput(), et main().

00054                                               {
00055 Guard (void ExManagerSound::DisplayAviableInput (void))
00056         *Consol<<"****************************************"<<std::endl;
00057         *Consol<<"*Checking for Audio                    *"<<std::endl;
00058         *Consol<<"****************************************"<<std::endl;
00059         *Consol<<"Company        : "<<alGetString (AL_VENDOR)<<std::endl;
00060         *Consol<<"Version        : "<<alGetString (AL_VERSION)<<std::endl;
00061         *Consol<<"Renderer       : "<<alGetString (AL_RENDERER)<<std::endl;
00062         *Consol<<"Extensions     : "<<alGetString (AL_EXTENSIONS)<<std::endl;
00063         if (alIsExtensionPresent ((ALubyte*) "AL_LOKI_attenuation_scale")) 
00064         {
00065                 *Consol<<"Found AL_LOKI_attenuation_scale"<<std::endl;
00066         }
00067 UnGuard
00068 }

int GetSound std::string   
 

Définition à la ligne 87 du fichier ExManagerSound.cpp.

Références GetSound(), Guard, et UnGuard.

Référencé par GetSound().

00087                                             {
00088 Guard (ExCSound* ExManagerSound::GetSound (std::string file))
00089         return -1;
00090 UnGuard
00091 }

bool Init void   
 

Définition à la ligne 34 du fichier ExManagerSound.cpp.

Références Consol, context_id, dev, Guard, et UnGuard.

Référencé par InitManager().

00034                                {
00035 Guard (void ExManagerSound::init (void))
00036 
00037         dev = alcOpenDevice (NULL);
00038         if (dev == NULL) {
00039                 *Consol<<"Can not initialize Audio device"<<std::endl;
00040                 return false;
00041         }
00042         
00043         context_id = alcCreateContext (dev, NULL);
00044         if (context_id == NULL) {
00045                 alcCloseDevice (dev);
00046                 *Consol<<"Can not initialize Audio device"<<std::endl;
00047                 return false;
00048         }
00049 
00050 UnGuard
00051 return true;
00052 }       

void ListAllSound void   
 

Définition à la ligne 99 du fichier ExManagerSound.cpp.

Références Guard, ListAllSound(), et UnGuard.

Référencé par ListAllSound(), et ExManagerCommand::ProcessAction().

00099                                        {
00100 Guard (void ExManagerSound::ListAllSound (void))
00101 
00102 UnGuard
00103 }

bool LoadSound std::string   
 

Définition à la ligne 70 du fichier ExManagerSound.cpp.

Références Guard, LoadSound(), et UnGuard.

Référencé par ExManagerCommand::LoadSetOfFile(), LoadSound(), et ExManagerCommand::ProcessAction().

00070                                               {
00071 Guard (bool ExManagerSound::LoadSound(std::string file))
00072         
00073 UnGuard
00074 return false;
00075 }

void PlaySound std::string   
 

Définition à la ligne 77 du fichier ExManagerSound.cpp.

Références Guard, PlaySound(), et UnGuard.

Référencé par PlaySound(), et ExManagerCommand::ProcessAction().

00077                                               {
00078 Guard (void ExManagerSound::PlaySound (std::string file))
00079 UnGuard
00080 }

bool RemoveSound std::string   
 

Définition à la ligne 93 du fichier ExManagerSound.cpp.

Références Guard, RemoveSound(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et RemoveSound().

00093                                                 {
00094 Guard (bool ExManagerSound::RemoveSound (std::string file))
00095         return true;
00096 UnGuard
00097 }

void Reset void   
 

Définition à la ligne 105 du fichier ExManagerSound.cpp.

Références Guard, Reset(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et Reset().

00105                                 {
00106 Guard (void ExManagerSound::Reset (void))
00107 UnGuard
00108 }

void SetManagerId ExManagerId   Id [inline]
 

Définition à la ligne 46 du fichier ExManagerSound.h.

Référencé par SetManagerLink().

00046 { ManagerId     = Id; }

void StopSound std::string   
 

Définition à la ligne 82 du fichier ExManagerSound.cpp.

Références Guard, StopSound(), et UnGuard.

Référencé par ExManagerCommand::ProcessAction(), et StopSound().

00082                                               {
00083 Guard (void ExManagerSound::StopSound (std::string file))
00084 UnGuard
00085 }


Documentation des données imbriquées

std::ostrstream* Consol
 

Définition à la ligne 43 du fichier ExManagerSound.h.

Référencé par DisplayAviableInput(), Init(), et SetManagerLink().

ALCcontext* context_id [private]
 

Définition à la ligne 37 du fichier ExManagerSound.h.

Référencé par Init(), et ~ExManagerSound().

ALCdevice* dev [private]
 

Définition à la ligne 38 du fichier ExManagerSound.h.

Référencé par Init().

ExManagerId* ManagerId [private]
 

Définition à la ligne 36 du fichier ExManagerSound.h.

void(* WriteToConsol)(const char *Label)
 

Référencé par SetManagerLink().


La documentation associée à cette classe a été générée à partir des fichiers suivants :
Généré le Tue Aug 6 20:25:46 2002 pour ExNihilo par doxygen1.2.17