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()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

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

HandleMccActivityEvent(const TMccEvent &)

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

Parameters

const TMccEvent & aEvent Error event

HandleMccErrorEvent(const TMccEvent &)

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

Parameters

const TMccEvent & aEvent Error event

HandleMccInactivityEvent(const TMccEvent &)

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

Parameters

const TMccEvent & aEvent Error event

HandleMccMediaEvent(const TMccEvent &)

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

Parameters

const TMccEvent & aEvent Media event

HandleMccStateChangeEvent(const TMccEvent &)

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

Parameters

const TMccEvent & aEvent Statechange event

HandleMccUnknownMediaEvent(const TMccEvent &)

void HandleMccUnknownMediaEvent ( const TMccEvent & aEvent ) [private]

Handles unknown media event

Since
Series 60 3.0

Parameters

const TMccEvent & aEvent Event

NewL(RMMFController &, MMccCtrlObserver &)

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

Two-phased constructor.

Parameters

RMMFController & aController
MMccCtrlObserver & aObserver

RequestEventNotification()

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

RunError(TInt)

TInt RunError ( TInt aError ) [protected, virtual]

Parameters

TInt aError

RunL()

void RunL ( ) [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]