CAlfAverageMappingFunction Class Reference

class CAlfAverageMappingFunction : public CBase

Weighted average function between two other mapping functions. By default calculates the average of the two functions.

Inherits from

  • CAlfAverageMappingFunction

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfAverageMappingFunction()

CAlfAverageMappingFunction()[private]

~CAlfAverageMappingFunction()

IMPORT_C~CAlfAverageMappingFunction()

Member Functions Documentation

ConstructL(CAlfEnv &, MAlfMappingFunction *, MAlfMappingFunction *)

voidConstructL(CAlfEnv &aEnv,
MAlfMappingFunction *aFunc1,
MAlfMappingFunction *aFunc2
)[private]

Parameters

CAlfEnv & aEnv
MAlfMappingFunction * aFunc1
MAlfMappingFunction * aFunc2

MapValue(TReal32, TInt)

TReal32 MapValue(TReal32aValue,
TIntaComponent
)const

Parameters

TReal32 aValue
TInt aComponent

MappingFunctionIdentifier()

TInt MappingFunctionIdentifier()const

NewL(CAlfEnv &, MAlfMappingFunction *, MAlfMappingFunction *)

IMPORT_C CAlfAverageMappingFunction *NewL(CAlfEnv &aEnv,
MAlfMappingFunction *aFunc1 = 0,
MAlfMappingFunction *aFunc2 = 0
)[static]

Constructor.

Parameters

CAlfEnv & aEnv
MAlfMappingFunction * aFunc1 = 0Function 1.
MAlfMappingFunction * aFunc2 = 0Function 2.

SetMappingFunction1(MAlfMappingFunction *)

IMPORT_C voidSetMappingFunction1(MAlfMappingFunction *aFunction1)

Parameters

MAlfMappingFunction * aFunction1

SetMappingFunction2(MAlfMappingFunction *)

IMPORT_C voidSetMappingFunction2(MAlfMappingFunction *aFunction2)

Parameters

MAlfMappingFunction * aFunction2

SetMappingFunctions(MAlfMappingFunction *, MAlfMappingFunction *)

IMPORT_C voidSetMappingFunctions(MAlfMappingFunction *aFunction1,
MAlfMappingFunction *aFunction2
)

Parameters

MAlfMappingFunction * aFunction1
MAlfMappingFunction * aFunction2

SetWeight(const TAlfTimedValue &)

IMPORT_C voidSetWeight(const TAlfTimedValue &aWeight)

Parameters

const TAlfTimedValue & aWeight

Member Data Documentation

TPrivateData * iData

TPrivateData *iData[private]