CMTPObjectMgr Class Reference

class CMTPObjectMgr : public CBase

Implements the MTP object manager interface.

Inherits from

Public Member Functions
~CMTPObjectMgr()
voidCommitReservedObjectHandleL(CMTPObjectMetaData &)
TUint CountL(const TMTPObjectMgrQueryParams &)
TUint DPIDL(const TUint, TBool &)
voidGetObjectHandlesL(const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, RArray< TUint > &)
voidGetObjectSuidsL(const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, CDesCArray &)
TUint32 HandleL(const TDesC &)
voidInsertDPIDObjectL(TUint, TUint)
voidInsertObjectL(CMTPObjectMetaData &)
voidInsertObjectsL(RPointerArray< CMTPObjectMetaData > &)
voidInsertPkgIDObjectL(TUint, TUint)
voidMarkDPLoadedL(TUint, TBool)
voidMarkNonPersistentObjectsL(TUint, TUint32)
voidModifyObjectL(const CMTPObjectMetaData &)
TAny *MtpDeltaDataMgr()
CMTPObjectMgr *NewL()
TBool ObjectL(const TMTPTypeUint32 &, CMTPObjectMetaData &)
TBool ObjectL(const TDesC &, CMTPObjectMetaData &)
TUint ObjectOwnerId(const TMTPTypeUint32 &)
CMTPObjectStore &ObjectStore()
TMTPTypeUint128 PuidL(TUint32)
TMTPTypeUint128 PuidL(TInt64)
TMTPTypeUint128 PuidL(const TDesC &)
voidRemoveNonPersistentObjectsL(TUint)
voidRemoveObjectL(const TMTPTypeUint32 &)
voidRemoveObjectL(const TDesC &)
IMPORT_C voidRemoveObjectsByStorageIdL(TUint32)
voidRemoveObjectsL(const CDesCArray &)
voidRemoveObjectsL(TUint)
voidReserveObjectHandleL(CMTPObjectMetaData &, TUint64)
voidRestorePersistentObjectsL(TUint)
voidUnreserveObjectHandleL(const CMTPObjectMetaData &)
Private Member Functions
CMTPObjectMgr()
voidConstructL()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
__FLOG_DECLARATION_MEMBER_MUTABLE
CMTPObjectStore *iObjectStore

Constructor & Destructor Documentation

CMTPObjectMgr()

CMTPObjectMgr()[private]

Standard C++ constructor

~CMTPObjectMgr()

~CMTPObjectMgr()

Destructor

Member Functions Documentation

CommitReservedObjectHandleL(CMTPObjectMetaData &)

voidCommitReservedObjectHandleL(CMTPObjectMetaData &aObject)

Parameters

CMTPObjectMetaData & aObject

ConstructL()

voidConstructL()[private]

second phase construction

CountL(const TMTPObjectMgrQueryParams &)

TUint CountL(const TMTPObjectMgrQueryParams &aParams)const

Parameters

const TMTPObjectMgrQueryParams & aParams

DPIDL(const TUint, TBool &)

TUint DPIDL(const TUintaUid,
TBool &aFlag
)const

Parameters

const TUint aUid
TBool & aFlag

GetObjectHandlesL(const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, RArray< TUint > &)

voidGetObjectHandlesL(const TMTPObjectMgrQueryParams &aParams,
RMTPObjectMgrQueryContext &aContext,
RArray< TUint > &aHandles
)const

Parameters

const TMTPObjectMgrQueryParams & aParams
RMTPObjectMgrQueryContext & aContext
RArray< TUint > & aHandles

GetObjectSuidsL(const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, CDesCArray &)

voidGetObjectSuidsL(const TMTPObjectMgrQueryParams &aParams,
RMTPObjectMgrQueryContext &aContext,
CDesCArray &aSuids
)const

Parameters

const TMTPObjectMgrQueryParams & aParams
RMTPObjectMgrQueryContext & aContext
CDesCArray & aSuids

HandleL(const TDesC &)

TUint32 HandleL(const TDesC &aSuid)const

Parameters

const TDesC & aSuid

InsertDPIDObjectL(TUint, TUint)

voidInsertDPIDObjectL(TUintaDpId,
TUintaUid
)

Parameters

TUint aDpId
TUint aUid

InsertObjectL(CMTPObjectMetaData &)

voidInsertObjectL(CMTPObjectMetaData &aObject)

Parameters

CMTPObjectMetaData & aObject

InsertObjectsL(RPointerArray< CMTPObjectMetaData > &)

voidInsertObjectsL(RPointerArray< CMTPObjectMetaData > &aObjects)

Parameters

RPointerArray< CMTPObjectMetaData > & aObjects

InsertPkgIDObjectL(TUint, TUint)

voidInsertPkgIDObjectL(TUintaDpId,
TUintaPkgId
)

Parameters

TUint aDpId
TUint aPkgId

MarkDPLoadedL(TUint, TBool)

voidMarkDPLoadedL(TUintaDataProviderId,
TBoolaFalg
)

Parameters

TUint aDataProviderId
TBool aFalg

MarkNonPersistentObjectsL(TUint, TUint32)

voidMarkNonPersistentObjectsL(TUintaDataProviderId,
TUint32aStorageId
)

Parameters

TUint aDataProviderId
TUint32 aStorageId

ModifyObjectL(const CMTPObjectMetaData &)

voidModifyObjectL(const CMTPObjectMetaData &aObject)

Parameters

const CMTPObjectMetaData & aObject

MtpDeltaDataMgr()

TAny *MtpDeltaDataMgr()

return MtpDeltaDataMgr

NewL()

CMTPObjectMgr *NewL()[static]
MTP object manager information record factory method. This method creates an empty object information record.
leave
One of the system wide error codes, if a processing failure occurs.

ObjectL(const TMTPTypeUint32 &, CMTPObjectMetaData &)

TBool ObjectL(const TMTPTypeUint32 &aHandle,
CMTPObjectMetaData &aObject
)const

Parameters

const TMTPTypeUint32 & aHandle
CMTPObjectMetaData & aObject

ObjectL(const TDesC &, CMTPObjectMetaData &)

TBool ObjectL(const TDesC &aSuid,
CMTPObjectMetaData &aObject
)const

Parameters

const TDesC & aSuid
CMTPObjectMetaData & aObject

ObjectOwnerId(const TMTPTypeUint32 &)

TUint ObjectOwnerId(const TMTPTypeUint32 &aHandle)const

Parameters

const TMTPTypeUint32 & aHandle

ObjectStore()

CMTPObjectStore &ObjectStore()

Provides a reference to the object meta data store.

PuidL(TUint32)

TMTPTypeUint128 PuidL(TUint32aHandle)const

Parameters

TUint32 aHandle

PuidL(TInt64)

TMTPTypeUint128 PuidL(TInt64aObjectUid)const

Parameters

TInt64 aObjectUid

PuidL(const TDesC &)

TMTPTypeUint128 PuidL(const TDesC &aSuid)const

Parameters

const TDesC & aSuid

RemoveNonPersistentObjectsL(TUint)

voidRemoveNonPersistentObjectsL(TUintaDataProviderId)

Parameters

TUint aDataProviderId

RemoveObjectL(const TMTPTypeUint32 &)

voidRemoveObjectL(const TMTPTypeUint32 &aHandle)

Parameters

const TMTPTypeUint32 & aHandle

RemoveObjectL(const TDesC &)

voidRemoveObjectL(const TDesC &aSuid)

Parameters

const TDesC & aSuid

RemoveObjectsByStorageIdL(TUint32)

IMPORT_C voidRemoveObjectsByStorageIdL(TUint32aStorageId)

Parameters

TUint32 aStorageId

RemoveObjectsL(const CDesCArray &)

voidRemoveObjectsL(const CDesCArray &aSuids)

Parameters

const CDesCArray & aSuids

RemoveObjectsL(TUint)

voidRemoveObjectsL(TUintaDataProviderId)

Parameters

TUint aDataProviderId

ReserveObjectHandleL(CMTPObjectMetaData &, TUint64)

voidReserveObjectHandleL(CMTPObjectMetaData &aObject,
TUint64aSpaceRequired
)

Parameters

CMTPObjectMetaData & aObject
TUint64 aSpaceRequired

RestorePersistentObjectsL(TUint)

voidRestorePersistentObjectsL(TUintaDataProviderId)

Parameters

TUint aDataProviderId

UnreserveObjectHandleL(const CMTPObjectMetaData &)

voidUnreserveObjectHandleL(const CMTPObjectMetaData &aObject)

Parameters

const CMTPObjectMetaData & aObject

Member Data Documentation

__FLOG_DECLARATION_MEMBER_MUTABLE

__FLOG_DECLARATION_MEMBER_MUTABLE[private]

FLOGGER debug trace member variable.

CMTPObjectStore * iObjectStore

CMTPObjectStore *iObjectStore[private]

The object meta data store.