class CCdlEngineRef : public CBase |
This class is the base for all classes which need to maintain a reference to the CDL engine or an object it owns.
When created, this object adds a reference to the CDL engine. When deleted, this object removes any remaining reference to the CDL engine. References may added or removed during the object's lifetime, but there must be 0 or 1 reference when this object is deleted.
This class is not instantiable or derivable outside of the CDL engine.
Public Member Functions | |
---|---|
CCdlEngineRef(CCdlEngineBase *) | |
~CCdlEngineRef() | |
void | AddRef() |
CCdlEngineBase * | Engine() |
void | ReleaseRef() |
Private Attributes | |
---|---|
CCdlEngineBase * | iEngine |
TInt | iRefCount |
CCdlEngineRef | ( | CCdlEngineBase * | aEngine | ) |
CCdlEngineBase * aEngine |