class CAnimation : public CBase |
Pure virtual base class for animations.
This defines an abstracted interface between a client application and an animation. Most of the implementation details are handled by an animator plugin. The source of the animation data and its interpretation are usually handled by a data provider.
CAnimationDataProvider CAnimator MAnimationObserver
Public Member Functions | |
---|---|
void | Freeze () |
void | Hold () |
void | Pause () |
void | Resume () |
void | SetPosition (const TPoint &) |
void | Start (const TAnimationConfig &) |
void | Stop () |
void | Unfreeze () |
void | Unhold () |
void | Freeze | ( | ) | [pure virtual] |
Causes whatever ticker this animation provides to its animator to be frozen untill a corresponding call to unfreeze.
You should not normally need to call this function. Unfreeze()
void | Hold | ( | ) | [pure virtual] |
Puts an animation on hold, which is similar to pause, but keeps track of the time steps passing and catches up when resumed. This can be used to temporarily cease processing an animation without it getting out of step with others.
void | Resume | ( | ) | [pure virtual] |
Causes a paused animation to continue from where it left off.
void | SetPosition | ( | const TPoint & | aPoint | ) | [pure virtual] |
Sets the coordinates of the animation. This generally refers to the top left corner of the total area the animation covers.
const TPoint & aPoint | The new coordinates of the animation (usually the top left corner) |
void | Start | ( | const TAnimationConfig & | aConfig | ) | [pure virtual] |
Causes the animation to start, at the first time step or logical equivalent. If the animation is already running, it rewinds. TAnimationConfig
const TAnimationConfig & aConfig | Specifies run time attributes of the animation. |
void | Unfreeze | ( | ) | [pure virtual] |
Causes whatever ticker this animation provides to its animator to be unfrozen.
You should not normally need to call this function. Freeze()
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.