CCdlEngineRef Class Reference

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.

Inherits from

Constructor & Destructor Documentation

CCdlEngineRef(CCdlEngineBase *)

CCdlEngineRef ( CCdlEngineBase * aEngine )

Parameters

CCdlEngineBase * aEngine

~CCdlEngineRef()

IMPORT_C ~CCdlEngineRef ( )

Member Functions Documentation

AddRef()

void AddRef ( )

Engine()

CCdlEngineBase * Engine ( ) const

ReleaseRef()

void ReleaseRef ( )

Member Data Documentation

CCdlEngineBase * iEngine

CCdlEngineBase * iEngine [private]

TInt iRefCount

TInt iRefCount [private]