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_C CMtmDllRegistry ( RFs & aFs,
TUid aMtmDllTypeUid,
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 = 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 TInt AddRegisteredMtmDll ( TUid aMtmTypeUid,
TUid aTechnologyTypeUid,
const CMtmDllInfo & aMtmDllInfo,
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver
) [protected]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const CMtmDllInfo & aMtmDllInfo
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

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

void DoAddRegisteredMtmDllL ( TUid aMtmTypeUid,
TUid aTechnologyTypeUid,
const CMtmDllInfo & aMtmDllInfo,
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver
) [private]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const CMtmDllInfo & aMtmDllInfo
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

IsInUse(TUid)

IMPORT_C TBool IsInUse ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

IsInUse()

IMPORT_C TBool IsInUse ( ) const

IsPresent(TUid)

TBool IsPresent ( TUid aMtmTypeUid ) const [inline]

Tests if the MTM with the specified UID is registered.

Parameters

TUid aMtmTypeUid UID of MTM to check

MtmTypeUid(TInt)

IMPORT_C TUid MtmTypeUid ( TInt anIndex ) const

Parameters

TInt anIndex

MtmTypeUidToIndex(TUid)

IMPORT_C TInt MtmTypeUidToIndex ( TUid anMtmTypeUid ) const [protected]

Parameters

TUid anMtmTypeUid

NumRegisteredMtmDlls()

TInt NumRegisteredMtmDlls ( ) const [inline]

Gets the number of registered MTMs.

RegisteredMtmDllInfo(TUid)

IMPORT_C const CMtmDllInfo & RegisteredMtmDllInfo ( TUid aMtmTypeUid ) const

Parameters

TUid aMtmTypeUid

RemoveAllRegisteredMtmDlls()

IMPORT_C void RemoveAllRegisteredMtmDlls ( ) [protected]

RemoveRegisteredMtmDll(TUid)

IMPORT_C void RemoveRegisteredMtmDll ( TUid aMtmTypeUid ) [protected]

Parameters

TUid aMtmTypeUid

TechnologyTypeUid(TUid)

IMPORT_C TUid TechnologyTypeUid ( TUid aMtmTypeUid ) 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]