CMMFControllerEventMonitor Class Reference

#include <mmf/common/mmfcontroller.h>

Link against: mmfcontrollerframework.lib

class CMMFControllerEventMonitor : public CActive, public CActive

Inherits from

Detailed 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.

Since
7.0s

Constructor & Destructor Documentation

~CMMFControllerEventMonitor ( )

~CMMFControllerEventMonitor()

Destructor.

Member Function Documentation

NewL ( MMMFControllerEventMonitorObserver &, RMMFController & )

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

Constructs a controller event monitor object.

notified when an event occurs.

Since
7.0s
Create a new Controller Event Monitor.

Parameters
aObserver"The observer to notify whenever an event is received. @param aMMFController "A reference to the controller that is to be monitored for events.
aMMFControllerA reference to the client controller interface class.
Return Value
A pointer to the new event monitor."A pointer to the object created."

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.