Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
DoCancel(), NewL(), RunL(), Start()

Inherited from CActive:
Cancel(), Deque(), EPriorityHigh, EPriorityIdle, EPriorityLow, EPriorityStandard, EPriorityUserInput, Extension_(), IsActive(), IsAdded(), Priority(), RunError(), SetActive(), SetPriority(), TPriority, iStatus

Inherited from CBase:
Delete(), operator new()


Construction and destruction


NewL()

static IMPORT_C 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.