|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLSOUND::CSimpleSound Class ReferenceA sound buffer and its static properties.
More...
#include <simple_sound.h>
Inheritance diagram for NLSOUND::CSimpleSound:
List of all members.
Detailed Description
A sound buffer and its static properties.
-
Author:
-
Boris Boucher , Nevrax France
-
Date:
-
2002
Definition at line 45 of file simple_sound.h.
Constructor & Destructor Documentation
NLSOUND::CSimpleSound::CSimpleSound |
( |
|
) |
|
|
NLSOUND::CSimpleSound::~CSimpleSound |
( |
|
) |
[virtual] |
|
Member Function Documentation
float NLSOUND::CSimpleSound::getAlpha |
( |
|
) |
const [inline] |
|
IBuffer * NLSOUND::CSimpleSound::getBuffer |
( |
|
) |
|
|
const std::string& NLSOUND::CSimpleSound::getBuffername |
( |
|
) |
const [inline] |
|
const std::string& NLSOUND::CSimpleSound::getBuffername |
( |
|
) |
[inline] |
|
uint32 NLSOUND::CSimpleSound::getDuration |
( |
|
) |
[virtual] |
|
const std::string& NLSOUND::CSimpleSound::getFilename |
( |
|
) |
const [inline] |
|
float NLSOUND::CSimpleSound::getMinDistance |
( |
|
) |
const [inline] |
|
TSOUND_TYPE NLSOUND::CSimpleSound::getSoundType |
( |
|
) |
[inline, private, virtual] |
|
void NLSOUND::CSimpleSound::getSubSoundList |
( |
std::vector< std::pair< std::string, CSound * > > & |
subsounds |
) |
const [virtual] |
|
|
Used by the george sound plugin to check sound recursion (ie sound 'toto' use sound 'titi' witch also use sound 'toto' ...).
Implements NLSOUND::CSound.
Definition at line 82 of file simple_sound.cpp.
References _Buffername. |
void NLSOUND::CSimpleSound::importForm |
( |
const std::string & |
filename, |
|
|
NLGEORGES::UFormElm & |
formRoot |
|
) |
[virtual] |
|
|
Load the sound parameters from georges' form.
an input serial or a load throws an exception ESoundFileNotFound)
Reimplemented from NLSOUND::CSound.
Definition at line 149 of file simple_sound.cpp.
References _Alpha, _Buffername, _Filename, NLSOUND::CSound::_MaxDist, _MinDist, _NeedContext, NLGEORGES::UFormElm::getDfnName, NLGEORGES::UFormElm::getNodeByName, NLGEORGES::UFormElm::getValueByName, nlassert, and setBuffer. |
bool NLSOUND::CSimpleSound::isDetailed |
( |
|
) |
const [inline, virtual] |
|
void NLSOUND::CSimpleSound::setBuffer |
( |
IBuffer * |
buffer |
) |
|
|
Member Data Documentation
double NLSOUND::CSimpleSound::_Alpha [private]
|
|
IBuffer* NLSOUND::CSimpleSound::_Buffer [private]
|
|
std::string NLSOUND::CSimpleSound::_Buffername [private]
|
|
bool NLSOUND::CSimpleSound::_Detailed [private]
|
|
std::string NLSOUND::CSimpleSound::_Filename [private]
|
|
float NLSOUND::CSimpleSound::_MinDist [private]
|
|
bool NLSOUND::CSimpleSound::_NeedContext [private]
|
|
bool NLSOUND::CSimpleSound::_Registered [private]
|
|
The documentation for this class was generated from the following files:
|
|