CMMFObjectContainer Class Reference

class CMMFObjectContainer : public CBase

Container class to hold the CMMFObject-derived objects in the controller framework.

7.0s

Inherits from

Constructor & Destructor Documentation

CMMFObjectContainer()

IMPORT_CCMMFObjectContainer()

~CMMFObjectContainer()

IMPORT_C~CMMFObjectContainer()

Member Functions Documentation

AddMMFObject(CMMFObject &)

IMPORT_C TIntAddMMFObject(CMMFObject &aObject)

Parameters

CMMFObject & aObject

DeleteAllObjects()

IMPORT_C voidDeleteAllObjects()

FindMMFObject(const TMMFMessageDestination &, CMMFObject *&)

IMPORT_C TIntFindMMFObject(const TMMFMessageDestination &aObjectHandle,
CMMFObject *&aObjectFound
)

Parameters

const TMMFMessageDestination & aObjectHandle
CMMFObject *& aObjectFound

FindMMFObject(const CMMFObject &, TInt &)

TInt FindMMFObject(const CMMFObject &aObject,
TInt &aPositionInArray
)[private]

Internal method to find an object in the array.

Parameters

const CMMFObject & aObject
TInt & aPositionInArray

GenerateObjectHandle()

TInt GenerateObjectHandle()[private]

Internal method used to generate the object handle for a newly added object.

MMFObjects()

const RPointerArray< CMMFObject > &MMFObjects()

RemoveAndDestroyMMFObject(CMMFObject &)

IMPORT_C voidRemoveAndDestroyMMFObject(CMMFObject &aObject)

Parameters

CMMFObject & aObject

Member Data Documentation

TInt iNextObjectHandle

TInt iNextObjectHandle[private]

The next available object handle.

RPointerArray< CMMFObject > iObjects

RPointerArray< CMMFObject >iObjects[private]

The array of objects.