CMTPObjectMgr Class Reference

class CMTPObjectMgr : public CBase

Implements the MTP object manager interface.

Inherits from

Public Member Functions
~CMTPObjectMgr ()
void CommitReservedObjectHandleL ( CMTPObjectMetaData &)
TUint CountL (const TMTPObjectMgrQueryParams &)
TUint DPIDL (const TUint , TBool &)
void GetObjectHandlesL (const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, RArray < TUint > &)
void GetObjectSuidsL (const TMTPObjectMgrQueryParams &, RMTPObjectMgrQueryContext &, CDesCArray &)
TUint32 HandleL (const TDesC &)
void InsertDPIDObjectL ( TUint , TUint )
void InsertObjectL ( CMTPObjectMetaData &)
void InsertObjectsL ( RPointerArray < CMTPObjectMetaData > &)
void InsertPkgIDObjectL ( TUint , TUint )
void MarkDPLoadedL ( TUint , TBool )
void MarkNonPersistentObjectsL ( TUint , TUint32 )
void ModifyObjectL (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 &)
void RemoveNonPersistentObjectsL ( TUint )
void RemoveObjectL (const TMTPTypeUint32 &)
void RemoveObjectL (const TDesC &)
IMPORT_C void RemoveObjectsByStorageIdL ( TUint32 )
void RemoveObjectsL (const CDesCArray &)
void RemoveObjectsL ( TUint )
void ReserveObjectHandleL ( CMTPObjectMetaData &, TUint64 )
void RestorePersistentObjectsL ( TUint )
void UnreserveObjectHandleL (const CMTPObjectMetaData &)
Private Member Functions
CMTPObjectMgr ()
void ConstructL ()
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 &)

void CommitReservedObjectHandleL ( CMTPObjectMetaData & aObject )

Parameters

CMTPObjectMetaData & aObject

ConstructL()

void ConstructL ( ) [private]

second phase construction

CountL(const TMTPObjectMgrQueryParams &)

TUint CountL ( const TMTPObjectMgrQueryParams & aParams ) const

Parameters

const TMTPObjectMgrQueryParams & aParams

DPIDL(const TUint, TBool &)

TUint DPIDL ( const TUint aUid,
TBool & aFlag
) const

Parameters

const TUint aUid
TBool & aFlag

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

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

Parameters

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

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

void GetObjectSuidsL ( 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)

void InsertDPIDObjectL ( TUint aDpId,
TUint aUid
)

Parameters

TUint aDpId
TUint aUid

InsertObjectL(CMTPObjectMetaData &)

void InsertObjectL ( CMTPObjectMetaData & aObject )

Parameters

CMTPObjectMetaData & aObject

InsertObjectsL(RPointerArray< CMTPObjectMetaData > &)

void InsertObjectsL ( RPointerArray < CMTPObjectMetaData > & aObjects )

Parameters

RPointerArray < CMTPObjectMetaData > & aObjects

InsertPkgIDObjectL(TUint, TUint)

void InsertPkgIDObjectL ( TUint aDpId,
TUint aPkgId
)

Parameters

TUint aDpId
TUint aPkgId

MarkDPLoadedL(TUint, TBool)

void MarkDPLoadedL ( TUint aDataProviderId,
TBool aFalg
)

Parameters

TUint aDataProviderId
TBool aFalg

MarkNonPersistentObjectsL(TUint, TUint32)

void MarkNonPersistentObjectsL ( TUint aDataProviderId,
TUint32 aStorageId
)

Parameters

TUint aDataProviderId
TUint32 aStorageId

ModifyObjectL(const CMTPObjectMetaData &)

void ModifyObjectL ( 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 ( TUint32 aHandle ) const

Parameters

TUint32 aHandle

PuidL(TInt64)

TMTPTypeUint128 PuidL ( TInt64 aObjectUid ) const

Parameters

TInt64 aObjectUid

PuidL(const TDesC &)

TMTPTypeUint128 PuidL ( const TDesC & aSuid ) const

Parameters

const TDesC & aSuid

RemoveNonPersistentObjectsL(TUint)

void RemoveNonPersistentObjectsL ( TUint aDataProviderId )

Parameters

TUint aDataProviderId

RemoveObjectL(const TMTPTypeUint32 &)

void RemoveObjectL ( const TMTPTypeUint32 & aHandle )

Parameters

const TMTPTypeUint32 & aHandle

RemoveObjectL(const TDesC &)

void RemoveObjectL ( const TDesC & aSuid )

Parameters

const TDesC & aSuid

RemoveObjectsByStorageIdL(TUint32)

IMPORT_C void RemoveObjectsByStorageIdL ( TUint32 aStorageId )

Parameters

TUint32 aStorageId

RemoveObjectsL(const CDesCArray &)

void RemoveObjectsL ( const CDesCArray & aSuids )

Parameters

const CDesCArray & aSuids

RemoveObjectsL(TUint)

void RemoveObjectsL ( TUint aDataProviderId )

Parameters

TUint aDataProviderId

ReserveObjectHandleL(CMTPObjectMetaData &, TUint64)

void ReserveObjectHandleL ( CMTPObjectMetaData & aObject,
TUint64 aSpaceRequired
)

Parameters

CMTPObjectMetaData & aObject
TUint64 aSpaceRequired

RestorePersistentObjectsL(TUint)

void RestorePersistentObjectsL ( TUint aDataProviderId )

Parameters

TUint aDataProviderId

UnreserveObjectHandleL(const CMTPObjectMetaData &)

void UnreserveObjectHandleL ( 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.