CMccEvent Class Reference

class CMccEvent : public CActive

CMccEvent receives event notifications from the controller plugin and forwards them to the client by calling corresponding callback functions of the MMCCCtrlObserver.

MCCInterface.lib
Since
Series 60 3.0

Inherits from

Constructor & Destructor Documentation

CMccEvent(RMMFController &, MMccCtrlObserver &)

CMccEvent(RMMFController &aController,
MMccCtrlObserver &aCallback
)[private]

C++ default constructor.

Parameters

RMMFController & aController
MMccCtrlObserver & aCallback

~CMccEvent()

~CMccEvent()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoCancel()

voidDoCancel()[protected, virtual]
From CActive Implements cancellation of an outstanding request.
Since
Series 60 3.0

HandleMccActivityEvent(const TMccEvent &)

voidHandleMccActivityEvent(const TMccEvent &aEvent)[private]
Handles activity event
Since
Series 60 3.0

Parameters

const TMccEvent & aEventError event

HandleMccErrorEvent(const TMccEvent &)

voidHandleMccErrorEvent(const TMccEvent &aEvent)[private]
Handles error event
Since
Series 60 3.0

Parameters

const TMccEvent & aEventError event

HandleMccInactivityEvent(const TMccEvent &)

voidHandleMccInactivityEvent(const TMccEvent &aEvent)[private]
Handles inactivity event
Since
Series 60 3.0

Parameters

const TMccEvent & aEventError event

HandleMccMediaEvent(const TMccEvent &)

voidHandleMccMediaEvent(const TMccEvent &aEvent)[private]
Handles an media event
Since
Series 60 3.0

Parameters

const TMccEvent & aEventMedia event

HandleMccStateChangeEvent(const TMccEvent &)

voidHandleMccStateChangeEvent(const TMccEvent &aEvent)[private]
Handles state change
Since
Series 60 3.0

Parameters

const TMccEvent & aEventStatechange event

HandleMccUnknownMediaEvent(const TMccEvent &)

voidHandleMccUnknownMediaEvent(const TMccEvent &aEvent)[private]

Handles unknown media event

Since
Series 60 3.0

Parameters

const TMccEvent & aEventEvent

NewL(RMMFController &, MMccCtrlObserver &)

CMccEvent *NewL(RMMFController &aController,
MMccCtrlObserver &aObserver
)[static]

Two-phased constructor.

Parameters

RMMFController & aController
MMccCtrlObserver & aObserver

RequestEventNotification()

voidRequestEventNotification()
Requests for event from Controller plugin and starts event listening loop.
Since
Series 60 3.0

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

From CActive

Parameters

TInt aError

RunL()

voidRunL()[protected, virtual]
From CActive Handles an active object s request completion event.
Since
Series 60 3.0

Member Data Documentation

RMMFController & iController

RMMFController &iController[private]

MMccCtrlObserver & iEventCallBack

MMccCtrlObserver &iEventCallBack[private]

TMMFMessageDestinationPckg iMessageDest

TMMFMessageDestinationPckg iMessageDest[private]

TMccEventPackage iPackage

TMccEventPackage iPackage[private]