Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfcontroller.h>
Link against: mmfcontrollerframework.lib

Class CMMFControllerEventMonitor

class CMMFControllerEventMonitor : public CActive;

Description

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.

Derivation

Members

Defined in CMMFControllerEventMonitor:

Inherited from CActive:

Inherited from CBase:


Construction and destruction


NewL(MMMFControllerEventMonitorObserver &,RMMFController &)

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

Description

Constructs a controller event monitor object.

Parameters

MMMFControllerEventMonitorObserver &aObserver

A reference to the observer of the active object. The observer will be notified when an event occurs.

RMMFController &aMMFController

A reference to the client controller interface class.

Return value

CMMFControllerEventMonitor *

A pointer to the new event monitor.

[Top]


Member functions


Start()

IMPORT_C void Start();

Description

Tells the controller event monitor to start listening for events.

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


RunL()

private: virtual void RunL();

Description

Calls HandleEvent on iObserver.

This will not leave.


DoCancel()

private: virtual void DoCancel();

Description

Cancels the outstanding request on iMMFController.