CRegisteredMtmDll Class Reference

class CRegisteredMtmDll : public CTimer

Allows an MTM object to access registry information about itself.

Inherits from

Public Member Functions
~CRegisteredMtmDll()
IMPORT_C TIntGetLibrary(RFs &, RLibrary &)
const CMtmDllInfo &MtmDllInfo()
TInt MtmDllRefCount()
TUid MtmTypeUid()
IMPORT_C CRegisteredMtmDll *NewL(TUid, TUid, const CMtmDllInfo &, const TTimeIntervalMicroSeconds32, MRegisteredMtmDllObserver &)
IMPORT_C voidReleaseLibrary()
TUid TechnologyTypeUid()
Private Member Functions
CRegisteredMtmDll(TUid, TUid, const TTimeIntervalMicroSeconds32, MRegisteredMtmDllObserver &)
voidConstructL(const CMtmDllInfo &)
voidLoadLibraryL(RFs &)
voidRunL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
CTimer::After(TTimeIntervalMicroSeconds32)
CTimer::At(const TTime &)
CTimer::AtUTC(const TTime &)
CTimer::CTimer(TInt)
CTimer::ConstructL()
CTimer::DoCancel()
CTimer::HighRes(TTimeIntervalMicroSeconds32)
CTimer::Inactivity(TTimeIntervalSeconds)
CTimer::Lock(TTimerLockSpec)
CTimer::~CTimer()
Inherited Enumerations
CActive:TPriority
Private Attributes
CMtmDllInfo *iMtmDllInfo
RLibrary iMtmDllLibrary
TInt iMtmDllRefCount
TUid iMtmTypeUid
MRegisteredMtmDllObserver &iRegisteredMtmDllObserver
TUid iTechnologyTypeUid
TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CRegisteredMtmDll(TUid, TUid, const TTimeIntervalMicroSeconds32, MRegisteredMtmDllObserver &)

CRegisteredMtmDll(TUidaMtmTypeUid,
TUidaTechnologyTypeUid,
const TTimeIntervalMicroSeconds32aTimeoutMicroSeconds32,
MRegisteredMtmDllObserver &aRegisteredMtmDllObserver
)[private]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

~CRegisteredMtmDll()

IMPORT_C~CRegisteredMtmDll()

Member Functions Documentation

ConstructL(const CMtmDllInfo &)

voidConstructL(const CMtmDllInfo &aMtmDllInfo)[private]

Parameters

const CMtmDllInfo & aMtmDllInfo

GetLibrary(RFs &, RLibrary &)

IMPORT_C TIntGetLibrary(RFs &aFs,
RLibrary &aMtmDllLibrary
)

Parameters

RFs & aFs
RLibrary & aMtmDllLibrary

LoadLibraryL(RFs &)

voidLoadLibraryL(RFs &aFs)[private]

Parameters

RFs & aFs

MtmDllInfo()

const CMtmDllInfo &MtmDllInfo()const [inline]

Gets the full registration data for the MTM.

Object encapsulating full registration data for the MTM

MtmDllRefCount()

TInt MtmDllRefCount()const [inline]

Gets the number of MTM objects instantiated from the registry.

Number of current instances of the MTM

MtmTypeUid()

TUid MtmTypeUid()const [inline]

Gets the MTM type UID.

MTM type UID

NewL(TUid, TUid, const CMtmDllInfo &, const TTimeIntervalMicroSeconds32, MRegisteredMtmDllObserver &)

IMPORT_C CRegisteredMtmDll *NewL(TUidaMtmTypeUid,
TUidaTechnologyTypeUid,
const CMtmDllInfo &aMtmDllInfo,
const TTimeIntervalMicroSeconds32aTimeoutMicroSeconds32,
MRegisteredMtmDllObserver &aRegisteredMtmDllObserver
)[static]

Parameters

TUid aMtmTypeUid
TUid aTechnologyTypeUid
const CMtmDllInfo & aMtmDllInfo
const TTimeIntervalMicroSeconds32 aTimeoutMicroSeconds32
MRegisteredMtmDllObserver & aRegisteredMtmDllObserver

ReleaseLibrary()

IMPORT_C voidReleaseLibrary()

RunL()

voidRunL()[private, virtual]

Handles an active object's request completion event.

A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.

The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.

Before calling this active object's RunL() function, the active scheduler has:

1. decided that this is the highest priority active object with a completed request

2. marked this active object's request as complete (i.e. the request is no longer outstanding)

RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.

Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.

CActiveScheduler::Start

CActiveScheduler::Error

CActiveScheduler::WaitForAnyRequest

TRAPD

TechnologyTypeUid()

TUid TechnologyTypeUid()const [inline]

Gets the technology type UID.

UID that indicates the messaging technology that the MTM group implements

Member Data Documentation

CMtmDllInfo * iMtmDllInfo

CMtmDllInfo *iMtmDllInfo[private]

RLibrary iMtmDllLibrary

RLibrary iMtmDllLibrary[private]

TInt iMtmDllRefCount

TInt iMtmDllRefCount[private]

TUid iMtmTypeUid

TUid iMtmTypeUid[private]

MRegisteredMtmDllObserver & iRegisteredMtmDllObserver

MRegisteredMtmDllObserver &iRegisteredMtmDllObserver[private]

TUid iTechnologyTypeUid

TUid iTechnologyTypeUid[private]

TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32

TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32[private]