CMtmDllRegistry Class Reference

class CMtmDllRegistry : public CBase

Accesses the various MTM component registries.

The derived classes used by clients are CClientMtmRegistry, CMtmUiDataRegistry, and CMtmUiRegistry. It provides functions to discover the MTMs registered in such a registry. The registered MTMs can be regarded as existing in a list: you can use NumRegisteredMtmDlls() to get the number in the list, and MtmTypeUid() to index into it.

Inherits from

Constructor & Destructor Documentation

CMtmDllRegistry(RFs &, TUid, TTimeIntervalMicroSeconds32)

IMPORT_CCMtmDllRegistry(RFs &aFs,
TUidaMtmDllTypeUid,
TTimeIntervalMicroSeconds32aTimeoutMicroSeconds32 = KMsvDefaultTimeoutMicroSeconds32
)[protected]

Parameters

RFs & aFs
TUid aMtmDllTypeUid
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 = KMsvDefaultTimeoutMicroSeconds32

~CMtmDllRegistry()

IMPORT_C~CMtmDllRegistry()

Member Functions Documentation

AddRegisteredMtmDll(TUid, TUid, const CMtmDllInfo &, MRegisteredMtmDllObserver &)

IMPORT_C TIntAddRegisteredMtmDll(TUidaMtmTypeUid,
TUidaTechnologyTypeUid,
const CMtmDllInfo &aMtmDllInfo,
MRegisteredMtmDllObserver &aRegisteredMtmDllObserver
)[protected]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const CMtmDllInfo & aMtmDllInfo
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

DoAddRegisteredMtmDllL(TUid, TUid, const CMtmDllInfo &, MRegisteredMtmDllObserver &)

voidDoAddRegisteredMtmDllL(TUidaMtmTypeUid,
TUidaTechnologyTypeUid,
const CMtmDllInfo &aMtmDllInfo,
MRegisteredMtmDllObserver &aRegisteredMtmDllObserver
)[private]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const CMtmDllInfo & aMtmDllInfo
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

IsInUse(TUid)

IMPORT_C TBoolIsInUse(TUidaMtmTypeUid)const

Parameters

TUid aMtmTypeUid

IsInUse()

IMPORT_C TBoolIsInUse()const

IsPresent(TUid)

TBool IsPresent(TUidaMtmTypeUid)const [inline]

Tests if the MTM with the specified UID is registered.

ETrue if the specified MTM in registered, else EFalse

Parameters

TUid aMtmTypeUidUID of MTM to check

MtmTypeUid(TInt)

IMPORT_C TUidMtmTypeUid(TIntanIndex)const

Parameters

TInt anIndex

MtmTypeUidToIndex(TUid)

IMPORT_C TIntMtmTypeUidToIndex(TUidanMtmTypeUid)const [protected]

Parameters

TUid anMtmTypeUid

NumRegisteredMtmDlls()

TInt NumRegisteredMtmDlls()const [inline]

Gets the number of registered MTMs.

Number of registered MTMs

RegisteredMtmDllInfo(TUid)

IMPORT_C const CMtmDllInfo &RegisteredMtmDllInfo(TUidaMtmTypeUid)const

Parameters

TUid aMtmTypeUid

RemoveAllRegisteredMtmDlls()

IMPORT_C voidRemoveAllRegisteredMtmDlls()[protected]

RemoveRegisteredMtmDll(TUid)

IMPORT_C voidRemoveRegisteredMtmDll(TUidaMtmTypeUid)[protected]

Parameters

TUid aMtmTypeUid

TechnologyTypeUid(TUid)

IMPORT_C TUidTechnologyTypeUid(TUidaMtmTypeUid)const

Parameters

TUid aMtmTypeUid

Member Data Documentation

RFs & iFs

RFs &iFs[protected]

TUid iMtmDllTypeUid

TUid iMtmDllTypeUid[protected]

CRegisteredMtmDllArray iRegisteredMtmDllArray

CRegisteredMtmDllArray iRegisteredMtmDllArray[protected]

TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32

TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32[protected]