CClientMtmRegistry Class Reference
class CClientMtmRegistry : public CObserverRegistry |
Accesses the Client-side MTM registry.
This registry holds details of the all the Client-side MTMs currently available on the system. Message client applications use this class to get a CBaseMtm-derived object by which to access Client-side MTM functionality.
Note that the base class CMtmDllRegistry provides functions for discovering what MTMs are present in the registry.
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() |
| CMtmDllRegistry::AddRegisteredMtmDll(TUid,TUid,const CMtmDllInfo &,MRegisteredMtmDllObserver &) |
| CMtmDllRegistry::CMtmDllRegistry(RFs &,TUid,TTimeIntervalMicroSeconds32) |
| CMtmDllRegistry::IsInUse()const |
| CMtmDllRegistry::IsInUse(TUid)const |
| CMtmDllRegistry::IsPresent(TUid)const |
| CMtmDllRegistry::MtmTypeUid(TInt)const |
| CMtmDllRegistry::MtmTypeUidToIndex(TUid)const |
| CMtmDllRegistry::NumRegisteredMtmDlls()const |
| CMtmDllRegistry::RegisteredMtmDllInfo(TUid)const |
| CMtmDllRegistry::RemoveAllRegisteredMtmDlls() |
| CMtmDllRegistry::RemoveRegisteredMtmDll(TUid) |
| CMtmDllRegistry::TechnologyTypeUid(TUid)const |
| CMtmDllRegistry::~CMtmDllRegistry() |
| CObserverRegistry::CObserverRegistry(CMsvSession &,TUid,TTimeIntervalMicroSeconds32) |
| CObserverRegistry::HandleSessionEventL(TMsvSessionEvent,TAny *,TAny *,TAny *) |
| CObserverRegistry::~CObserverRegistry() |
Constructor & Destructor Documentation
CClientMtmRegistry(CMsvSession &, TTimeIntervalMicroSeconds32)
~CClientMtmRegistry()
IMPORT_C | ~CClientMtmRegistry | ( | ) | |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [protected] |
Second-phase constructor.
DoNewMtmL(const RLibrary &, CRegisteredMtmDll &)
NewL(CMsvSession &, TTimeIntervalMicroSeconds32)
Gets a CClientMtmRegistry object. The client should delete this object when it is no longer required.
The registry keeps a reference count of the number of instances of each MTM in use. When that reference count falls to zero, the DLL that provides the MTM is unloaded. However, this is not done immediately, but only after the time specified in aTimeoutMicroSeconds32. This increases efficiency in cases where the DLL is required again shortly.
-
leave
- KErrNoMemory A memory allocation failed
NewMtmL(TUid)
Creates a Client-side MTM object for the specified MTM UID.
The client should delete the returned object when it is no longer required.
-
leave
- KErrNotFound aMtmTypeUid does not specify a registered MTM
-
leave
- KErrNoMemory A memory allocation failed
-
leave
- KErrBadLibraryEntryPoint Malformed MTM: a library entry point was not of the required type
-
leave
- DLL loading error codes The DLL that provides the MTM cannot be loaded
Parameters
TUid aMtmTypeUid | UID of MTM to obtain |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.