CAlfLinearMappingFunction Class Reference

class CAlfLinearMappingFunction : public CBase

Linear mapping function.

Does not implement change flags, which means that if iFactor or iOffset is changed while the mapping function is in use, timed values will not notify the change.

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfLinearMappingFunction()

CAlfLinearMappingFunction ( ) [private]

~CAlfLinearMappingFunction()

IMPORT_C ~CAlfLinearMappingFunction ( )

Member Functions Documentation

ConstructL(CAlfEnv &, TReal32, TReal32)

void ConstructL ( CAlfEnv & aEnv,
TReal32 aFactor,
TReal32 aOffset
) [private]

Parameters

CAlfEnv & aEnv
TReal32 aFactor
TReal32 aOffset

Factor()

IMPORT_C TReal32 Factor ( ) const

MapValue(TReal32, TInt)

TReal32 MapValue ( TReal32 aValue,
TInt aComponent
) const

Parameters

TReal32 aValue
TInt aComponent

MappingFunctionIdentifier()

TInt MappingFunctionIdentifier ( ) const

NewL(CAlfEnv &, TReal32, TReal32)

IMPORT_C CAlfLinearMappingFunction * NewL ( CAlfEnv & aEnv,
TReal32 aFactor = 1.0,
TReal32 aOffset = 0.0
) [static]

Constructor.

Parameters

CAlfEnv & aEnv
TReal32 aFactor = 1.0
TReal32 aOffset = 0.0

Offset()

IMPORT_C TReal32 Offset ( ) const

SetFactor(TReal32)

IMPORT_C void SetFactor ( TReal32 aFactor )

Parameters

TReal32 aFactor

SetOffset(TReal32)

IMPORT_C void SetOffset ( TReal32 aOffset )

Parameters

TReal32 aOffset

Member Data Documentation

TPrivateData * iData

TPrivateData * iData [private]