CAnimationTicker Class Reference
class CAnimationTicker : public CBase |
This provides timing information for animators.
You do not need to instantiate an object of this type unless you are writing a new animation type.
MAnimationTickee CAnimationTls
Constructor & Destructor Documentation
CAnimationTicker()
CAnimationTicker | ( | ) | [private] |
~CAnimationTicker()
IMPORT_C | ~CAnimationTicker | ( | ) | |
Member Functions Documentation
Add(MAnimationTickee *)
Adds a new tickee to the internal list. All added tickees will be called once every tick.
CAnimationTicker_Reserved1()
IMPORT_C void | CAnimationTicker_Reserved1 | ( | ) | [protected, virtual] |
CAnimationTicker_Reserved2()
IMPORT_C void | CAnimationTicker_Reserved2 | ( | ) | [protected, virtual] |
ConstructL(TTimeIntervalMicroSeconds32)
Freeze()
Freezes this ticker
This allows asynchronous actions to be taken for more than one animation without the animations getting out of synch with each other.
It is possible to freeze multiple times. Doing so will increment a reference counter and the ticker will not be unfrozen until every freeze has been matched by a call to unfreeze.
You should not need to call this function unless you are writing a new animation type. CAnimationTicker::Unfreeze()
NewL(TTimeIntervalMicroSeconds32)
Two stage constructor.
After construction, the ticker is already active.
Creates a new CAnimationTicker with the specified time period in microseconds. The time period aTickLength must be greater than 0 otherwise the caller will be panicked. See CPeriodic for the panic code raised.
MAnimationTickee CPeriodic
Remove(MAnimationTickee *)
Removes a tickee from the internal list. Attempting to remove a tickee that has not been added is not an error, and has no effect.
StartTickingL()
void | StartTickingL | ( | ) | [private] |
StopTicking()
void | StopTicking | ( | ) | [private] |
TickLength()
This provides the resolution of the timer.
Unfreeze()
Under some circumstances it may be necessary to handle unfreezing directly, instead of through the item on the cleanupstack. In this case the cleanup item should be popped and then Unfreeze called when appropriate.
You should not need to call this function unless you are writing a new animation type. CAnimationTicker::Freeze()
Member Data Documentation
TInt
iCAnimationTicker_Reserved
TInt
| iCAnimationTicker_Reserved | [private] |
TTimeIntervalMicroSeconds32
iTickLength
RPointerArray< MAnimationTickee > iTickees
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.