SoundHandler Class Reference

#include <SoundHandler.h>

Inheritance diagram for SoundHandler:

Inheritance graph
[legend]
Collaboration diagram for SoundHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SoundHandler ()
virtual ~SoundHandler ()
virtual int init (int argc, char **argv)
virtual void setDirectionVector (float *direction)
virtual SoundEmitterallocNewEmitter (void)
virtual void delEmitter (SoundEmitter *emitter)
virtual int addSound (const char *file_name)
virtual void masterVolume (float volume)
virtual void update ()

Static Public Member Functions

static void StartMusic (const std::string &fname)
static void StopMusic ()

Protected Attributes

float * dir
float * pos
float * vel
SoundEmittermyEmitter
std::list< SoundEmitter * > emitterList

Static Protected Attributes

static pid_t musicPlayer

Constructor & Destructor Documentation

SoundHandler::SoundHandler (  )  [inline]

virtual SoundHandler::~SoundHandler (  )  [inline, virtual]


Member Function Documentation

virtual int SoundHandler::addSound ( const char *  file_name  )  [inline, virtual]

Reimplemented in SoundHandlerAL.

virtual SoundEmitter* SoundHandler::allocNewEmitter ( void   )  [inline, virtual]

Reimplemented in SoundHandlerAL.

virtual void SoundHandler::delEmitter ( SoundEmitter emitter  )  [inline, virtual]

Reimplemented in SoundHandlerAL.

virtual int SoundHandler::init ( int  argc,
char **  argv 
) [inline, virtual]

Reimplemented in SoundHandlerAL.

virtual void SoundHandler::masterVolume ( float  volume  )  [inline, virtual]

Reimplemented in SoundHandlerAL.

virtual void SoundHandler::setDirectionVector ( float *  direction  )  [inline, virtual]

Reimplemented in SoundHandlerAL.

static void SoundHandler::StartMusic ( const std::string &  fname  )  [static]

static void SoundHandler::StopMusic (  )  [static]

virtual void SoundHandler::update ( void   )  [inline, virtual]

Reimplemented in SoundHandlerAL.


Member Data Documentation

float* SoundHandler::dir [protected]

std::list<SoundEmitter*> SoundHandler::emitterList [protected]

pid_t SoundHandler::musicPlayer [static, protected]

SoundEmitter* SoundHandler::myEmitter [protected]

float* SoundHandler::pos [protected]

float* SoundHandler::vel [protected]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7