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

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfAverageMappingFunction()

CAlfAverageMappingFunction ( ) [private]

~CAlfAverageMappingFunction()

IMPORT_C ~CAlfAverageMappingFunction ( )

Member Functions Documentation

ConstructL(CAlfEnv &, MAlfMappingFunction *, MAlfMappingFunction *)

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

Parameters

CAlfEnv & aEnv
MAlfMappingFunction * aFunc1
MAlfMappingFunction * aFunc2

MapValue(TReal32, TInt)

TReal32 MapValue ( TReal32 aValue,
TInt aComponent
) 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 = 0 Function 1.
MAlfMappingFunction * aFunc2 = 0 Function 2.

SetMappingFunction1(MAlfMappingFunction *)

IMPORT_C void SetMappingFunction1 ( MAlfMappingFunction * aFunction1 )

Parameters

MAlfMappingFunction * aFunction1

SetMappingFunction2(MAlfMappingFunction *)

IMPORT_C void SetMappingFunction2 ( MAlfMappingFunction * aFunction2 )

Parameters

MAlfMappingFunction * aFunction2

SetMappingFunctions(MAlfMappingFunction *, MAlfMappingFunction *)

IMPORT_C void SetMappingFunctions ( MAlfMappingFunction * aFunction1,
MAlfMappingFunction * aFunction2
)

Parameters

MAlfMappingFunction * aFunction1
MAlfMappingFunction * aFunction2

SetWeight(const TAlfTimedValue &)

IMPORT_C void SetWeight ( const TAlfTimedValue & aWeight )

Parameters

const TAlfTimedValue & aWeight

Member Data Documentation

TPrivateData * iData

TPrivateData * iData [private]