CMMFDataPathEventMonitor Class Reference

class CMMFDataPathEventMonitor : public CActive

Active object utility class that can be used to monitor a datapath that is running in its own thread for events. If an event occurs, the client will be notified via the MMMFDataPathEventMonitorObserver interface.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFDataPathEventMonitor(MMMFDataPathEventMonitorObserver &, RMMFDataPathProxy &)

CMMFDataPathEventMonitor(MMMFDataPathEventMonitorObserver &aObserver,
RMMFDataPathProxy &aMMFDataPathProxy
)[private]

Constructs a datapath event monitor object.

Since
7.0s

Parameters

MMMFDataPathEventMonitorObserver & aObserverA reference to the observer of the active object. The observer will be notified when an event occurs.
RMMFDataPathProxy & aMMFDataPathProxyA reference to the datapath proxy class.

~CMMFDataPathEventMonitor()

IMPORT_C~CMMFDataPathEventMonitor()

Destructor.

Calls Cancel().

Member Functions Documentation

DoCancel()

voidDoCancel()[protected, virtual]

Cancels the outstanding request on iMMFDataPathProxy.

Since
7.0s

NewL(MMMFDataPathEventMonitorObserver &, RMMFDataPathProxy &)

IMPORT_C CMMFDataPathEventMonitor *NewL(MMMFDataPathEventMonitorObserver &aObserver,
RMMFDataPathProxy &aMMFDataPathProxy
)[static]

Constructs a datapath event monitor object.

Since
7.0s

Parameters

MMMFDataPathEventMonitorObserver & aObserverA reference to the observer of the active object. The observer will be notified when an event occurs.
RMMFDataPathProxy & aMMFDataPathProxyA reference to the client datapath proxy class.

RunL()

IMPORT_C voidRunL()[virtual]

Internal active object function.

Starts the data path event monitor and handles an event if there is no error status.

Calls HandleEvent on iObserver.

Since
7.0s

Start()

IMPORT_C voidStart()

Tells the datapath event monitor to start listening for events.

The datapath proxy must have been opened before this method is called.

Since
7.0s

Member Data Documentation

TMMFEventPckg iEventPckg

TMMFEventPckg iEventPckg[private]

RMMFDataPathProxy & iMMFDataPathProxy

RMMFDataPathProxy &iMMFDataPathProxy[private]

MMMFDataPathEventMonitorObserver & iObserver

MMMFDataPathEventMonitorObserver &iObserver[private]