CMMFDataSinkHolder Class Reference

#include "mmfcontroller.h"

Link against: mmfcontrollerframework.lib

class CMMFDataSinkHolder : public CMMFObject

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

CMMFDataSinkHolder ( MDataSink & )

IMPORT_CCMMFDataSinkHolder(MDataSink &aDataSink)

Constructor.

Since
7.0s
ParameterDescription
aDataSinkThe data sink to be wrapped.

~CMMFDataSinkHolder ( )

IMPORT_C~CMMFDataSinkHolder()

Destructor.

Note: This deletes the data sink.

Since
7.0s

Member Function Documentation

DataSink ( )

IMPORT_C MDataSink &DataSink()

Returns a reference to the data sink.

Since
7.0s

Returns: The data sink.

HandleRequest ( TMMFMessage & )

IMPORT_C voidHandleRequest(TMMFMessage &aMessage)[virtual]

Reimplemented from CMMFObject::HandleRequest(TMMFMessage &)

Implementation of the pure virtual function inherited from CMMFObject.

Passes the request directly to the data sink.

Since
7.0s
ParameterDescription
aMessageThe message to be handled.