CAnimator Class Reference
class CAnimator : public CBase |
Pure virtual base class for animators.
Each data type supported by the animation framework is represented by an animator, which handles the data interpretation, timing and control. Each animator is provided in the form of an ECOM plugin.
You do not need to instatiate animators in a client application. This is handled by the animation classes.
CAnimation
Constructor & Destructor Documentation
~CAnimator()
IMPORT_C | ~CAnimator | ( | ) | [virtual] |
Member Functions Documentation
DataEventL(TInt, TAny *, TInt)
void | DataEventL | ( | TInt | aEvent, |
| TAny * | aData, |
| TInt | aDataSize |
| ) | [pure virtual] |
Parameters
TInt aEvent | The event identifier |
TAny * aData | A pointer to any data for the event |
TInt aDataSize | The length of the data in aData |
Draw(CBitmapContext &)
Called from the renderer and draws the animation.
Parameters
CBitmapContext & aBitmapContext | The context on which the animation will be drawn |
DrawMask(CBitmapContext &)
Called from the renderer and draws the mask for the animation.
Parameters
CBitmapContext & aBitmapContext | The context on which the mask will be drawn |
Hold()
Puts an animation on hold.
NewL(MAnimationDrawer *)
Locates and constructs an animator.
The MAnimationDrawer passed as an argument returns a string through the function AnimatorDataType. If a matching animator plugin can be found then it will be loaded and constructed.
Parameters
MAnimationDrawer * aRenderer | The MAnimationDrawer implementation for the animator to use. |
Pause()
void | Pause | ( | ) | [pure virtual] |
Resume()
void | Resume | ( | ) | [pure virtual] |
Resumes a paused animation.
Start(const TAnimationConfig &)
void | Start | ( | const TAnimationConfig & | aConfig | ) | [pure virtual] |
Starts the animation running. TAnimationConfig
Parameters
const TAnimationConfig & aConfig | Runtime settings |
Stop()
Stops the animation and rewinds it.
Unhold()
void | Unhold | ( | ) | [pure virtual] |
Restores a held animation and brings it back into synch.
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [protected] |
Animator ECOM Plugin identifier
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.