Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: mmfdatapathproxy.h
Link against: mmfserverbaseclasses.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class CMMFDataPathEventMonitor

class CMMFDataPathEventMonitor : public CActive;

Description

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.

Derivation

Members

Defined in CMMFDataPathEventMonitor:
DoCancel(), NewL(), RunL(), Start(), ~CMMFDataPathEventMonitor()

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 CMMFDataPathEventMonitor *NewL(MMMFDataPathEventMonitorObserver &aObserver, RMMFDataPathProxy &aMMFDataPathProxy);

Description

Constructs a datapath event monitor object.

Parameters

MMMFDataPathEventMonitorObserver &aObserver

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

RMMFDataPathProxy &aMMFDataPathProxy

A reference to the client datapath proxy class.

Return value

CMMFDataPathEventMonitor *

A pointer to the new event monitor.


~CMMFDataPathEventMonitor()

IMPORT_C ~CMMFDataPathEventMonitor();

Description

Destructor.

Calls Cancel().

[Top]


Member functions


Start()

IMPORT_C void Start();

Description

Tells the datapath event monitor to start listening for events.

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


RunL()

virtual IMPORT_C void RunL();

Description

Internal active object function.

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

Calls HandleEvent on iObserver.


DoCancel()

protected: virtual void DoCancel();

Description

Cancels the outstanding request on iMMFDataPathProxy.