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.
Public Member Functions | |
---|---|
~CMtmDllRegistry() | |
IMPORT_C TBool | IsInUse(TUid) |
IMPORT_C TBool | IsInUse() |
TBool | IsPresent(TUid) |
IMPORT_C TUid | MtmTypeUid(TInt) |
TInt | NumRegisteredMtmDlls() |
IMPORT_C const CMtmDllInfo & | RegisteredMtmDllInfo(TUid) |
IMPORT_C TUid | TechnologyTypeUid(TUid) |
Protected Member Functions | |
---|---|
CMtmDllRegistry(RFs &, TUid, TTimeIntervalMicroSeconds32) | |
IMPORT_C TInt | AddRegisteredMtmDll(TUid, TUid, const CMtmDllInfo &, MRegisteredMtmDllObserver &) |
IMPORT_C TInt | MtmTypeUidToIndex(TUid) |
IMPORT_C void | RemoveAllRegisteredMtmDlls() |
IMPORT_C void | RemoveRegisteredMtmDll(TUid) |
Private Member Functions | |
---|---|
void | DoAddRegisteredMtmDllL(TUid, TUid, const CMtmDllInfo &, MRegisteredMtmDllObserver &) |
Protected Attributes | |
---|---|
RFs & | iFs |
TUid | iMtmDllTypeUid |
CRegisteredMtmDllArray | iRegisteredMtmDllArray |
TTimeIntervalMicroSeconds32 | iTimeoutMicroSeconds32 |
IMPORT_C | CMtmDllRegistry | ( | RFs & | aFs, |
TUid | aMtmDllTypeUid, | |||
TTimeIntervalMicroSeconds32 | aTimeoutMicroSeconds32 = KMsvDefaultTimeoutMicroSeconds32 | |||
) | [protected] |
RFs & aFs | |
TUid aMtmDllTypeUid | |
TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32 = KMsvDefaultTimeoutMicroSeconds32 |
IMPORT_C TInt | AddRegisteredMtmDll | ( | TUid | aMtmTypeUid, |
TUid | aTechnologyTypeUid, | |||
const CMtmDllInfo & | aMtmDllInfo, | |||
MRegisteredMtmDllObserver & | aRegisteredMtmDllObserver | |||
) | [protected] |
TUid aMtmTypeUid | |
TUid aTechnologyTypeUid | |
const CMtmDllInfo & aMtmDllInfo | |
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver |
void | DoAddRegisteredMtmDllL | ( | TUid | aMtmTypeUid, |
TUid | aTechnologyTypeUid, | |||
const CMtmDllInfo & | aMtmDllInfo, | |||
MRegisteredMtmDllObserver & | aRegisteredMtmDllObserver | |||
) | [private] |
TUid aMtmTypeUid | |
TUid aTechnologyTypeUid | |
const CMtmDllInfo & aMtmDllInfo | |
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver |
TBool | IsPresent | ( | TUid | aMtmTypeUid | ) | const [inline] |
Tests if the MTM with the specified UID is registered.
ETrue if the specified MTM in registered, else EFalse
TUid aMtmTypeUid | UID of MTM to check |
IMPORT_C TInt | MtmTypeUidToIndex | ( | TUid | anMtmTypeUid | ) | const [protected] |
TUid anMtmTypeUid |
TInt | NumRegisteredMtmDlls | ( | ) | const [inline] |
Gets the number of registered MTMs.
Number of registered MTMs
IMPORT_C const CMtmDllInfo & | RegisteredMtmDllInfo | ( | TUid | aMtmTypeUid | ) | const |
TUid aMtmTypeUid |
IMPORT_C void | RemoveRegisteredMtmDll | ( | TUid | aMtmTypeUid | ) | [protected] |
TUid aMtmTypeUid |
IMPORT_C TUid | TechnologyTypeUid | ( | TUid | aMtmTypeUid | ) | const |
TUid aMtmTypeUid |
CRegisteredMtmDllArray | iRegisteredMtmDllArray | [protected] |
TTimeIntervalMicroSeconds32 | iTimeoutMicroSeconds32 | [protected] |