CMMFDataSinkHolder Class Reference

class CMMFDataSinkHolder : public CMMFObject

CMMFObject-derived class to wrap a Data Sink.

Allows a handle to be attributed to a data sink, so it can be removed from the controller and the client can send messages directly to it.

Since
7.0s

Inherits from

Constructor & Destructor Documentation

CMMFDataSinkHolder(MDataSink &)

IMPORT_C CMMFDataSinkHolder ( MDataSink & aDataSink )

Constructor.

Since
7.0s

Parameters

MDataSink & aDataSink The data sink to be wrapped.

~CMMFDataSinkHolder()

IMPORT_C ~CMMFDataSinkHolder ( )

Destructor.

Note: This deletes the data sink.

Since
7.0s

Member Functions Documentation

DataSink()

IMPORT_C MDataSink & DataSink ( )

Returns a reference to the data sink.

Since
7.0s

HandleRequest(TMMFMessage &)

IMPORT_C void HandleRequest ( TMMFMessage & aMessage ) [virtual]

Implementation of the pure virtual function inherited from CMMFObject .

Passes the request directly to the data sink.

Since
7.0s

Parameters

TMMFMessage & aMessage The message to be handled.

Member Data Documentation

MDataSink * iDataSink

MDataSink * iDataSink [private]

Pointer to the data sink owned by this object.