class CMMFObjectContainer : public CBase |
Container class to hold the CMMFObject-derived objects in the controller framework.
7.0s
Public Member Functions | |
---|---|
CMMFObjectContainer() | |
~CMMFObjectContainer() | |
IMPORT_C TInt | AddMMFObject(CMMFObject &) |
IMPORT_C void | DeleteAllObjects() |
IMPORT_C TInt | FindMMFObject(const TMMFMessageDestination &, CMMFObject *&) |
const RPointerArray< CMMFObject > & | MMFObjects() |
IMPORT_C void | RemoveAndDestroyMMFObject(CMMFObject &) |
Private Member Functions | |
---|---|
TInt | FindMMFObject(const CMMFObject &, TInt &) |
TInt | GenerateObjectHandle() |
Private Attributes | |
---|---|
TInt | iNextObjectHandle |
RPointerArray< CMMFObject > | iObjects |
IMPORT_C TInt | AddMMFObject | ( | CMMFObject & | aObject | ) |
CMMFObject & aObject |
IMPORT_C TInt | FindMMFObject | ( | const TMMFMessageDestination & | aObjectHandle, |
CMMFObject *& | aObjectFound | |||
) |
const TMMFMessageDestination & aObjectHandle | |
CMMFObject *& aObjectFound |
TInt | FindMMFObject | ( | const CMMFObject & | aObject, |
TInt & | aPositionInArray | |||
) | [private] |
Internal method to find an object in the array.
const CMMFObject & aObject | |
TInt & aPositionInArray |
TInt | GenerateObjectHandle | ( | ) | [private] |
Internal method used to generate the object handle for a newly added object.
IMPORT_C void | RemoveAndDestroyMMFObject | ( | CMMFObject & | aObject | ) |
CMMFObject & aObject |
RPointerArray< CMMFObject > | iObjects | [private] |
The array of objects.