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

  • CAlfLinearMappingFunction

Nested Classes and Structures

Constructor & Destructor Documentation

CAlfLinearMappingFunction()

CAlfLinearMappingFunction()[private]

~CAlfLinearMappingFunction()

IMPORT_C~CAlfLinearMappingFunction()

Member Functions Documentation

ConstructL(CAlfEnv &, TReal32, TReal32)

voidConstructL(CAlfEnv &aEnv,
TReal32aFactor,
TReal32aOffset
)[private]

Parameters

CAlfEnv & aEnv
TReal32 aFactor
TReal32 aOffset

Factor()

IMPORT_C TReal32Factor()const

MapValue(TReal32, TInt)

TReal32 MapValue(TReal32aValue,
TIntaComponent
)const

Parameters

TReal32 aValue
TInt aComponent

MappingFunctionIdentifier()

TInt MappingFunctionIdentifier()const

NewL(CAlfEnv &, TReal32, TReal32)

IMPORT_C CAlfLinearMappingFunction *NewL(CAlfEnv &aEnv,
TReal32aFactor = 1.0,
TReal32aOffset = 0.0
)[static]

Constructor.

Parameters

CAlfEnv & aEnv
TReal32 aFactor = 1.0
TReal32 aOffset = 0.0

Offset()

IMPORT_C TReal32Offset()const

SetFactor(TReal32)

IMPORT_C voidSetFactor(TReal32aFactor)

Parameters

TReal32 aFactor

SetOffset(TReal32)

IMPORT_C voidSetOffset(TReal32aOffset)

Parameters

TReal32 aOffset

Member Data Documentation

TPrivateData * iData

TPrivateData *iData[private]