CMTPServiceMgr Class Reference

class CMTPServiceMgr : public CBase

Implements the MTP service manager interface.

Inherits from

Public Member Functions
~CMTPServiceMgr()
TInt EnableService(const TMTPTypeGuid &, const TUint)
TInt GetServiceFormatCode(const TMTPTypeGuid &, const TMTPTypeGuid &, TUint &)
IMPORT_C const RArray< TUint > &GetServiceIDs()
TInt GetServiceId(const TMTPTypeGuid &, TUint &)
TInt GetServiceMethodCode(const TMTPTypeGuid &, const TMTPTypeGuid &, TUint &)
TInt GetServicePropertyCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, TUint &)
TInt InsertServiceId(const TUint)
IMPORT_C TBoolIsServiceFormatCode(const TUint32)
IMPORT_C TBoolIsSupportedService(const TMTPTypeGuid &)
IMPORT_C TBoolIsSupportedService(const TUint)
CMTPServiceMgr *NewL()
IMPORT_C CMTPServiceInfo *ServiceInfo(const TMTPTypeGuid &)
IMPORT_C CMTPServiceInfo *ServiceInfo(const TUint)
TInt ServiceTypeOfSupportedService(const TMTPTypeGuid &)
TInt SetServiceFormatCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint)
TInt SetServiceMethodCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint)
TInt SetServicePropertyCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, const TUint)
Private Member Functions
CMTPServiceMgr()
voidConstructL()
TInt GetServiceFormat(const TMTPTypeGuid &, const TMTPTypeGuid &, CServiceFormat **)
TInt GetServiceMethod(const TMTPTypeGuid &, const TMTPTypeGuid &, CServiceMethod **)
TInt GetServiceProperty(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, CServiceProperty **)
voidLoadServiceL(const TMTPTypeGuid &)
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
CMTPServiceConfig *iServiceCfg
RArray< TUint >iServiceIDs
RMTPFramework iSingletons

Constructor & Destructor Documentation

CMTPServiceMgr()

CMTPServiceMgr()[private]

~CMTPServiceMgr()

~CMTPServiceMgr()

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

EnableService(const TMTPTypeGuid &, const TUint)

TInt EnableService(const TMTPTypeGuid &aPGUID,
const TUintaServiceID
)

Parameters

const TMTPTypeGuid & aPGUID
const TUint aServiceID

GetServiceFormat(const TMTPTypeGuid &, const TMTPTypeGuid &, CServiceFormat **)

TInt GetServiceFormat(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
CServiceFormat **aServiceFormat
)const [private]

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
CServiceFormat ** aServiceFormat

GetServiceFormatCode(const TMTPTypeGuid &, const TMTPTypeGuid &, TUint &)

TInt GetServiceFormatCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
TUint &aServiceFormatCode
)const

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
TUint & aServiceFormatCode

GetServiceIDs()

IMPORT_C const RArray< TUint > &GetServiceIDs()const

GetServiceId(const TMTPTypeGuid &, TUint &)

TInt GetServiceId(const TMTPTypeGuid &aServiceGUID,
TUint &aServiceID
)const

Parameters

const TMTPTypeGuid & aServiceGUID
TUint & aServiceID

GetServiceMethod(const TMTPTypeGuid &, const TMTPTypeGuid &, CServiceMethod **)

TInt GetServiceMethod(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
CServiceMethod **aServiceMethod
)const [private]

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
CServiceMethod ** aServiceMethod

GetServiceMethodCode(const TMTPTypeGuid &, const TMTPTypeGuid &, TUint &)

TInt GetServiceMethodCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
TUint &aServiceFormatCode
)const

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
TUint & aServiceFormatCode

GetServiceProperty(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, CServiceProperty **)

TInt GetServiceProperty(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aPKNamespace,
const TUintaPKID,
CServiceProperty **aServicePropertye
)const [private]

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aPKNamespace
const TUint aPKID
CServiceProperty ** aServicePropertye

GetServicePropertyCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, TUint &)

TInt GetServicePropertyCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aPKNamespace,
const TUintaPKID,
TUint &aServicePropertyCode
)const

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aPKNamespace
const TUint aPKID
TUint & aServicePropertyCode

InsertServiceId(const TUint)

TInt InsertServiceId(const TUintaServiceId)

Parameters

const TUint aServiceId

IsServiceFormatCode(const TUint32)

IMPORT_C TBoolIsServiceFormatCode(const TUint32aDatacode)const

Parameters

const TUint32 aDatacode

IsSupportedService(const TMTPTypeGuid &)

IMPORT_C TBoolIsSupportedService(const TMTPTypeGuid &aPGUID)const

Parameters

const TMTPTypeGuid & aPGUID

IsSupportedService(const TUint)

IMPORT_C TBoolIsSupportedService(const TUintaServiceID)const

Parameters

const TUint aServiceID

LoadServiceL(const TMTPTypeGuid &)

voidLoadServiceL(const TMTPTypeGuid &aPGUID)[private]

Parameters

const TMTPTypeGuid & aPGUID

NewL()

CMTPServiceMgr *NewL()[static]

ServiceInfo(const TMTPTypeGuid &)

IMPORT_C CMTPServiceInfo *ServiceInfo(const TMTPTypeGuid &aServiceGUID)const

Parameters

const TMTPTypeGuid & aServiceGUID

ServiceInfo(const TUint)

IMPORT_C CMTPServiceInfo *ServiceInfo(const TUintaServiceID)const

Parameters

const TUint aServiceID

ServiceTypeOfSupportedService(const TMTPTypeGuid &)

TInt ServiceTypeOfSupportedService(const TMTPTypeGuid &aPGUID)const

Parameters

const TMTPTypeGuid & aPGUID

SetServiceFormatCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint)

TInt SetServiceFormatCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
const TUintaCurrFormatCode
)

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
const TUint aCurrFormatCode

SetServiceMethodCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint)

TInt SetServiceMethodCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aGUID,
const TUintaCurrMethodCode
)

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aGUID
const TUint aCurrMethodCode

SetServicePropertyCode(const TMTPTypeGuid &, const TMTPTypeGuid &, const TUint, const TUint)

TInt SetServicePropertyCode(const TMTPTypeGuid &aServicePGUID,
const TMTPTypeGuid &aPKNamespace,
const TUintaPKID,
const TUintaCurrPropertyCode
)

Parameters

const TMTPTypeGuid & aServicePGUID
const TMTPTypeGuid & aPKNamespace
const TUint aPKID
const TUint aCurrPropertyCode

Member Data Documentation

__FLOG_DECLARATION_MEMBER_MUTABLE

__FLOG_DECLARATION_MEMBER_MUTABLE[private]

FLOGGER debug trace member variable.

CMTPServiceConfig * iServiceCfg

CMTPServiceConfig *iServiceCfg[private]

Service Config

RArray< TUint > iServiceIDs

RArray< TUint >iServiceIDs[private]

RMTPFramework iSingletons

RMTPFramework iSingletons[private]

The framework singletons.