|
||
class CAnimationTls : public CBase;
This is a wrapper around the thread local storage, which simplifies its use for obtaining a CAnimationTicker
object that can be shared between animations. The object is reference counted, and only one will exist per thread per DLL
at any given time.
You do not need to instantiate an object of this type unless you are writing a new animation type. If you are writing a new animation type it is optional.
CBase
-
Base class for all classes to be instantiated on the heap.
CAnimationTls
- This is a wrapper around the thread local storage, which simplifies its use for ...
Defined in CAnimationTls
:
CAnimationTls_Reserved1()
Reserved for future use CAnimationTls_Reserved2()
Reserved for future use Close()
Decrements the reference counter for this object, and destroys it if the referen...NewL()
Two-stage constructor.Ticker()
Returns the CAnimationTicker object for this thread. iRefCount
A Reference count of the object iTimer
This provides timing information for animators Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...CAnimationTicker
This provides timing information for animators.IMPORT_C static CAnimationTls* NewL();
Two-stage constructor.
There is only ever one of these objects in existence. The object is reference counted, and is destroyed only when every call to NewL has been matched by a call to Close.
|
IMPORT_C void Close();
Decrements the reference counter for this object, and destroys it if the reference count reaches 0. This should be called once for every call to NewL.
IMPORT_C CAnimationTicker* Ticker();
Returns the CAnimationTicker
object for this thread.
|
protected: CAnimationTicker * iTimer;
This provides timing information for animators