class MAlfMappingFunction |
Mapping function interface. Timed values use this interface for mapping the return value of a timed value evaluation. Can be used to define custom interpolation functions for example timed values.
TReal32 | MapValue | ( | TReal32 | aValue, |
TInt | aMode | |||
) | const [pure virtual] |
Perform the mapping. Defines a function y = f(x, mode).
Implement this method that calculates a output value for a timed value based on the input value and a component/mode parameter.
For example the aValue input could be an angle, and the aMode could be a X or Y component enumeration, then the MapValue could calculate return a x or y position on a curve path.
TInt | MappingFunctionIdentifier | ( | ) | const [pure virtual] |
Returns the mapping function identifier on the server side.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.