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.

7.0s

Inherits from

Constructor & Destructor Documentation

CMMFControllerEventMonitor(MMMFControllerEventMonitorObserver &, RMMFController &)

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

Constructs a controller event monitor object.

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.

7.0s

NewL(MMMFControllerEventMonitorObserver &, RMMFController &)

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

Constructs a controller event monitor object.

A pointer to the new event monitor.

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.

RunL()

voidRunL()[private, virtual]

Calls HandleEvent on iObserver.

This will not leave.

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.

7.0s

Member Data Documentation

TMMFEventPckg iEventPckg

TMMFEventPckg iEventPckg[private]

RMMFController & iMMFController

RMMFController &iMMFController[private]

MMMFControllerEventMonitorObserver & iObserver

MMMFControllerEventMonitorObserver &iObserver[private]