From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02237.html | 248 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 docs/doxygen/nel/a02237.html (limited to 'docs/doxygen/nel/a02237.html') diff --git a/docs/doxygen/nel/a02237.html b/docs/doxygen/nel/a02237.html new file mode 100644 index 00000000..c5bbd91b --- /dev/null +++ b/docs/doxygen/nel/a02237.html @@ -0,0 +1,248 @@ + + +NeL: NLSOUND::CAudioMixerUser::CControledSources struct Reference + + + +
+

NLSOUND::CAudioMixerUser::CControledSources Struct Reference

+ + + + + + + + + + + + + + + + + + + + +

Public Member Functions

void serial (NLMISC::IStream &s)

Data Fields

NLMISC::TStringId Name
 The user var name.

TControledParamId ParamId
 Witch parameter to control.

std::vector< NLMISC::TStringIdSoundNames
 The controled sounds names.

std::set< CSourceCommon * > Sources
 All the sources controled by this variable.

float Value
 Current parameter value.

+

Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLSOUND::CAudioMixerUser::CControledSources::serial NLMISC::IStream s  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 935 of file audio_mixer_user.cpp. +

+References ParamId, s, size, SoundNames, uint, and uint32. +

+

00936 {
+00937         std::string name, soundName;
+00938         if (s.isReading())
+00939         {
+00940                 s.serial(name);
+00941                 Name = CStringMapper::map(name);
+00942                 s.serialEnum(ParamId);
+00943 
+00944                 uint32 size;
+00945                 s.serial(size);
+00946                 for (uint i=0; i<size; ++i)
+00947                 {
+00948                         s.serial(soundName);
+00949                         SoundNames.push_back(CStringMapper::map(soundName));
+00950                 }
+00951         }
+00952         else
+00953         {
+00954                 name = CStringMapper::unmap(Name);
+00955                 s.serial(name);
+00956                 s.serialEnum(ParamId);
+00957 
+00958                 uint32 size = SoundNames.size();
+00959                 s.serial(size);
+00960 
+00961                 for (uint i=0; i<size; ++i)
+00962                 {
+00963                         soundName = CStringMapper::unmap(SoundNames[i]);
+00964                         s.serial(soundName);
+00965                 }
+00966         }
+00967 
+00968         // Default value to 0.
+00969         Value = 0.0f;
+00970 }
+
+


Field Documentation

+

+ + + + +
+ + +
NLMISC::TStringId NLSOUND::CAudioMixerUser::CControledSources::Name +
+
+ + + + + +
+   + + +

+The user var name. +

+ +

+Definition at line 401 of file audio_mixer_user.h. +

+Referenced by NLSOUND::CUserVarSerializer::readGeorges().

+

+ + + + +
+ + +
TControledParamId NLSOUND::CAudioMixerUser::CControledSources::ParamId +
+
+ + + + + +
+   + + +

+Witch parameter to control. +

+ +

+Definition at line 403 of file audio_mixer_user.h. +

+Referenced by NLSOUND::CUserVarSerializer::readGeorges(), and serial().

+

+ + + + +
+ + +
std::vector<NLMISC::TStringId> NLSOUND::CAudioMixerUser::CControledSources::SoundNames +
+
+ + + + + +
+   + + +

+The controled sounds names. +

+ +

+Definition at line 405 of file audio_mixer_user.h. +

+Referenced by NLSOUND::CUserVarSerializer::readGeorges(), and serial().

+

+ + + + +
+ + +
std::set<CSourceCommon*> NLSOUND::CAudioMixerUser::CControledSources::Sources +
+
+ + + + + +
+   + + +

+All the sources controled by this variable. +

+ +

+Definition at line 409 of file audio_mixer_user.h.

+

+ + + + +
+ + +
float NLSOUND::CAudioMixerUser::CControledSources::Value +
+
+ + + + + +
+   + + +

+Current parameter value. +

+ +

+Definition at line 407 of file audio_mixer_user.h. +

+Referenced by NLSOUND::CUserVarSerializer::readGeorges().

+


The documentation for this struct was generated from the following files: +
Generated on Tue Mar 16 14:30:34 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1