CSvgTimer Class Reference
class CSvgTimer : public CTimer |
A Timer class that wraps Symbian CTimer class All the essential functionality is same Adds additional capabilities such as frames, frames per second information, ability to specify/change duration etc.
Constructor & Destructor Documentation
CSvgTimer(CSvgTimeContainer *)
CSvgTimer | ( | CSvgTimeContainer * | aTimeContainer | ) | [protected] |
Parameters
CSvgTimeContainer * aTimeContainer | |
Member Functions Documentation
ChangeFrameDuration(TUint32)
void | ChangeFrameDuration | ( | TUint32 | aTimerDuration | ) | |
CHange the duration of the timer
Parameters
TUint32 aTimerDuration | - An integer that is the new duration |
ConstructL()
void | ConstructL | ( | ) | [protected] |
A private constructor that constructs heap objects
DoCancel()
Standard Active Object DoCancel
Fps()
Return the frames per second information
GenerateFrameL(TUint32)
Request svg engine to generate frame at the given time in milliseconds
GetElapsedMilliseconds(TTime &, TTime &)
NewL(CSvgTimeContainer *)
CSvgTimer * | NewL | ( | CSvgTimeContainer * | aTimeContainer | ) | [static] |
Parameters
CSvgTimeContainer * aTimeContainer | - Pointer to the Time Container |
NewLC(CSvgTimeContainer *)
CSvgTimer * | NewLC | ( | CSvgTimeContainer * | aTimeContainer | ) | [static] |
Parameters
CSvgTimeContainer * aTimeContainer | - Pointer to the Time Container |
RunL()
Standard Active Object RunL
SVGResume(TInt32)
Parameters
TInt32 aTime | Time in msecs to resume after(Must be Positive) |
SetSeekTime(TUint32)
Set the timer to forward/rewind animation
SetStartTime()
Set Start Time for animation
SetStrictFrameDuration(TBool)
void | SetStrictFrameDuration | ( | TBool | aKeepStrictFrameDuration | ) | |
Set whether each frame generated should be time-base or frame-based.
Parameters
TBool aKeepStrictFrameDuration | - if ETrue then every cycle of RunL will generate a frame with the elapsed time set by ChangeFrameDuration(). |
Member Data Documentation
TBool
iFirstFrameDrawn
TBool
| iFirstFrameDrawn | [private] |
TBool
iIsStrictFrameDuration
TBool
| iIsStrictFrameDuration | [private] |
TTime
iPreviousFrameTime
TTime
| iPreviousFrameTime | [private] |
CSvgTimeContainer * iTimeContainer
CSvgTimeContainer * | iTimeContainer | [private] |
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.