SoundBuffer Class Reference

#include <SoundBuffer.h>

Inheritance diagram for SoundBuffer:

SoundBufferEmpty SoundBufferWav

List of all members.

Public Member Functions

 SoundBuffer (const char *fileName)
virtual ~SoundBuffer ()
virtual
SoundBufferSourceInstance
createSourceInstance (unsigned int source)=0
const char * getFileName ()

Protected Attributes

std::string fileName_


Detailed Description

Definition at line 40 of file SoundBuffer.h.


Constructor & Destructor Documentation

SoundBuffer::SoundBuffer ( const char *  fileName  ) 

Definition at line 32 of file SoundBuffer.cpp.

SoundBuffer::~SoundBuffer (  )  [virtual]

Definition at line 37 of file SoundBuffer.cpp.


Member Function Documentation

virtual SoundBufferSourceInstance* SoundBuffer::createSourceInstance ( unsigned int  source  )  [pure virtual]

Implemented in SoundBufferEmpty, and SoundBufferWav.

Referenced by SoundSource::play().

const char* SoundBuffer::getFileName (  )  [inline]

Definition at line 47 of file SoundBuffer.h.

References fileName_.

Referenced by Sound::showSoundBuffers().


Member Data Documentation

std::string SoundBuffer::fileName_ [protected]

Definition at line 50 of file SoundBuffer.h.

Referenced by getFileName().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3