Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfcontroller.h>
Link against: mmfcontrollerframework.lib

Class CMMFDataSinkHolder

class CMMFDataSinkHolder : public CMMFObject;

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.

Derivation

Members

Defined in CMMFDataSinkHolder:

Inherited from CBase:

Inherited from CMMFObject:


Construction and destruction


CMMFDataSinkHolder(MDataSink &)

IMPORT_C CMMFDataSinkHolder(MDataSink &aDataSink);

Description

Constructor.

Parameters

MDataSink &aDataSink

The data sink to be wrapped.


~CMMFDataSinkHolder()

IMPORT_C ~CMMFDataSinkHolder();

Description

Destructor.

Note: This deletes the data sink.

[Top]


Member functions


DataSink()

IMPORT_C MDataSink& DataSink();

Description

Returns a reference to the data sink.

Return value

MDataSink &

The data sink.


HandleRequest(TMMFMessage &)

IMPORT_C virtual void HandleRequest(TMMFMessage &aMessage);

Description

Implementation of the pure virtual function inherited from CMMFObject.

Passes the request directly to the data sink.

Parameters

TMMFMessage &aMessage

The message to be handled.