ISoundSystem Class Reference

Basic class that holds all sound. More...

#include <isound.h>

Inherited by SoundSystem_Empty, and SoundSystem_SDL.

Inheritance diagram for ISoundSystem:

Inheritance graph
[legend]
Collaboration diagram for ISoundSystem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ISoundSystem ()
 Inicialization of sound subsytem.
virtual ~ISoundSystem ()
 Clean sound subsystem.
virtual ISoundMusicgetMusic ()
 Create object that handle the music.

Protected Attributes

ISoundMusicmMusic

Detailed Description

Basic class that holds all sound.

Handles the inicialization etc.

Note that children should (must) redefine getMusic() or create mMusic in constructor!

Definition at line 29 of file isound.h.


Constructor & Destructor Documentation

ISoundSystem::ISoundSystem  )  [inline]
 

Inicialization of sound subsytem.

Definition at line 35 of file isound.h.

virtual ISoundSystem::~ISoundSystem  )  [inline, virtual]
 

Clean sound subsystem.

Definition at line 40 of file isound.h.


Member Function Documentation

virtual ISoundMusic* ISoundSystem::getMusic  )  [inline, virtual]
 

Create object that handle the music.

Note that only one object if type ISoundMusic should exist. Allways return != 0 value;

Reimplemented in SoundSystem_SDL.

Definition at line 48 of file isound.h.

References assertL, and mMusic.


Member Data Documentation

ISoundMusic* ISoundSystem::mMusic [protected]
 

Definition at line 56 of file isound.h.

Referenced by SoundSystem_SDL::getMusic(), getMusic(), SoundSystem_Empty::SoundSystem_Empty(), SoundSystem_SDL::SoundSystem_SDL(), SoundSystem_Empty::~SoundSystem_Empty(), and SoundSystem_SDL::~SoundSystem_SDL().


The documentation for this class was generated from the following file:
Generated on Wed Apr 12 14:18:32 2006 for bjs by  doxygen 1.4.5