From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../classNLSOUND_1_1CContextSoundContainer.html | 367 +++++++++++++++++++++ 1 file changed, 367 insertions(+) create mode 100644 docs/doxygen/nel/classNLSOUND_1_1CContextSoundContainer.html (limited to 'docs/doxygen/nel/classNLSOUND_1_1CContextSoundContainer.html') diff --git a/docs/doxygen/nel/classNLSOUND_1_1CContextSoundContainer.html b/docs/doxygen/nel/classNLSOUND_1_1CContextSoundContainer.html new file mode 100644 index 00000000..80861946 --- /dev/null +++ b/docs/doxygen/nel/classNLSOUND_1_1CContextSoundContainer.html @@ -0,0 +1,367 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLSOUND::CContextSoundContainer Class Template Reference

#include <context_sound.h> +

+

Inheritance diagram for NLSOUND::CContextSoundContainer: +

+ +NLSOUND::IContextSoundContainer + +List of all members. + + + + + + + + + + +

Private Types

typedef std::hash_map< CContextMatcher<
+ NbJoker, UseRandom, Shift >,
+ CSound *, CContextMatcher<
+ NbJoker, UseRandom, Shift
+>::CHash > 
THashContextSound

Private Methods

virtual void init (uint *contextArgsIndex)
virtual void addSound (CSound *sound, const std::string &baseName)
virtual CSoundgetSound (const CSoundContext &context, uint32 randomValue)
void getSoundList (std::vector< std::pair< std::string, CSound * > > &subsounds) const

Private Attributes

uint32 _ContextArgsIndex [NbJoker]
THashContextSound _ContextSounds
+

template<uint NbJoker, bool UseRandom, uint Shift = 5>
+ class NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >

+ +

Member Typedef Documentation

+

+ + + + +
+ + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
typedef std::hash_map<CContextMatcher<NbJoker, UseRandom, Shift>, CSound *, CContextMatcher<NbJoker, UseRandom, Shift>::CHash> NLSOUND::CContextSoundContainer::THashContextSound [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 108 of file context_sound.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
virtual void NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::addSound CSound  sound,
const std::string &   baseName
[inline, private, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLSOUND::IContextSoundContainer. +

+Definition at line 115 of file context_sound.h. +

+References _ContextSounds, nlassert, nldebug, nlwarning, and NLMISC::smprintf.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
virtual CSound* NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::getSound const CSoundContext  context,
uint32   randomValue
[inline, private, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLSOUND::IContextSoundContainer. +

+Definition at line 222 of file context_sound.h. +

+References _ContextArgsIndex, and _ContextSounds.

+

+ + + + +
+ + + + + + + + + + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
void NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::getSoundList std::vector< std::pair< std::string, CSound * > > &   subsounds const [inline, private, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLSOUND::IContextSoundContainer. +

+Definition at line 239 of file context_sound.h. +

+References _ContextSounds.

+

+ + + + +
+ + + + + + + + + + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
virtual void NLSOUND::CContextSoundContainer< NbJoker, UseRandom, Shift >::init uint  contextArgsIndex [inline, private, virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLSOUND::IContextSoundContainer. +

+Definition at line 110 of file context_sound.h. +

+References _ContextArgsIndex.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
uint32 NLSOUND::CContextSoundContainer::_ContextArgsIndex[NbJoker] [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 249 of file context_sound.h. +

+Referenced by getSound, and init.

+

+ + + + +
+ + + + + +
+template<uint NbJoker, bool UseRandom, uint Shift = 5>
THashContextSound NLSOUND::CContextSoundContainer::_ContextSounds [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 250 of file context_sound.h. +

+Referenced by addSound, getSound, and getSoundList.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1