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

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfTableMappingFunction()

CAlfTableMappingFunction ( ) [private]

~CAlfTableMappingFunction()

IMPORT_C ~CAlfTableMappingFunction ( )

Destructor.

Member Functions Documentation

ConstructL(CAlfEnv &)

void ConstructL ( CAlfEnv & aEnv ) [private]

Parameters

CAlfEnv & aEnv

MapValue(TReal32, TInt)

TReal32 MapValue ( TReal32 aValue,
TInt aComponent
) 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 void SetMappingTableValues ( TReal32 aStart,
TReal32 aEnd,
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 aStart Start value for the mapping table
TReal32 aEnd End value for the mapping table
MAlfTableMappingFunctionDataProvider * aFunction Function that is used to calculate mapping table values.

Member Data Documentation

TPrivateData * iData

TPrivateData * iData [private]