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.
Public Member Functions | |
---|---|
IMPORT_C void | Close() |
IMPORT_C CAnimationTls * | NewL() |
IMPORT_C CAnimationTicker * | Ticker() |
Protected Member Functions | |
---|---|
CAnimationTls() | |
~CAnimationTls() | |
IMPORT_C void | CAnimationTls_Reserved1() |
IMPORT_C void | CAnimationTls_Reserved2() |
Protected Attributes | |
---|---|
TInt | iRefCount |
CAnimationTicker * | iTimer |
Private Attributes | |
---|---|
TInt | iCAnimationTls_Reserved |
IMPORT_C void | CAnimationTls_Reserved1 | ( | ) | [protected, virtual] |
Reserved for future use
IMPORT_C void | CAnimationTls_Reserved2 | ( | ) | [protected, virtual] |
Reserved for future use
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 CAnimationTls * | NewL | ( | ) | [static] |
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.
The new object
IMPORT_C CAnimationTicker * | Ticker | ( | ) |
Returns the CAnimationTicker object for this thread. A pointer to the shared ticker object
CAnimationTicker * | iTimer | [protected] |
This provides timing information for animators