CMMFControllerEventMonitor Class Reference

class CMMFControllerEventMonitor : public CActive

Active object utility class that can be used to monitor a controller plugin for events. If an event occurs, the client will be notified via the MMMFControllerEventMonitorObserver interface.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFControllerEventMonitor(MMMFControllerEventMonitorObserver &, RMMFController &)

CMMFControllerEventMonitor(MMMFControllerEventMonitorObserver &aObserver,
RMMFController &aMMFController
)[private]

Constructs a controller event monitor object.

Since
7.0s

Parameters

MMMFControllerEventMonitorObserver & aObserverA reference to the observer of the active object. The observer will be notified when an event occurs.
RMMFController & aMMFControllerA reference to the client controller interface class.

~CMMFControllerEventMonitor()

~CMMFControllerEventMonitor()

Destructor.

Member Functions Documentation

DoCancel()

voidDoCancel()[private, virtual]

Cancels the outstanding request on iMMFController.

Since
7.0s

NewL(MMMFControllerEventMonitorObserver &, RMMFController &)

IMPORT_C CMMFControllerEventMonitor *NewL(MMMFControllerEventMonitorObserver &aObserver,
RMMFController &aMMFController
)[static]

Constructs a controller event monitor object.

Since
7.0s
Create a new Controller Event Monitor.

Parameters

MMMFControllerEventMonitorObserver & aObserver"The observer to notify whenever an event is received. @param aMMFController "A reference to the controller that is to be monitored for events.
RMMFController & aMMFControllerA reference to the client controller interface class.

RunL()

voidRunL()[private, virtual]

Calls HandleEvent on iObserver.

This will not leave.

Since
7.0s

Start()

IMPORT_C voidStart()

Tells the controller event monitor to start listening for events.

The controller plugin must have been opened before this method is called.

Since
7.0s
Start receiving events from the controller. This can only be called once the controller is open.

Member Data Documentation

TMMFEventPckg iEventPckg

TMMFEventPckg iEventPckg[private]

RMMFController & iMMFController

RMMFController &iMMFController[private]

MMMFControllerEventMonitorObserver & iObserver

MMMFControllerEventMonitorObserver &iObserver[private]