CAlfTableMappingFunction Class Reference

class CAlfTableMappingFunction : public CBase

Mapping table based mapping function. This can be used in some situations to implement new mapping function functionality, without writing a whole new mapping function (as a server extension).

Inherits from

  • CAlfTableMappingFunction

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfTableMappingFunction()

CAlfTableMappingFunction()[private]

~CAlfTableMappingFunction()

IMPORT_C~CAlfTableMappingFunction()

Destructor.

Member Functions Documentation

ConstructL(CAlfEnv &)

voidConstructL(CAlfEnv &aEnv)[private]

Parameters

CAlfEnv & aEnv

MapValue(TReal32, TInt)

TReal32 MapValue(TReal32aValue,
TIntaComponent
)const

Parameters

TReal32 aValue
TInt aComponent

MappingFunctionIdentifier()

TInt MappingFunctionIdentifier()const

NewL(CAlfEnv &)

IMPORT_C CAlfTableMappingFunction *NewL(CAlfEnv &aEnv)[static]

Constructor.

Parameters

CAlfEnv & aEnv

SetMappingTableValues(TReal32, TReal32, MAlfTableMappingFunctionDataProvider *)

IMPORT_C voidSetMappingTableValues(TReal32aStart,
TReal32aEnd,
MAlfTableMappingFunctionDataProvider *aFunction
)

Calculates mapping table for given range using given mapping data provider function. This fucntion should be called at least once to initialize the mapping table values.

Parameters

TReal32 aStartStart value for the mapping table
TReal32 aEndEnd value for the mapping table
MAlfTableMappingFunctionDataProvider * aFunctionFunction that is used to calculate mapping table values.

Member Data Documentation

TPrivateData * iData

TPrivateData *iData[private]