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.
Public Member Functions | |
---|---|
CMMFDataSinkHolder ( MDataSink &) | |
~CMMFDataSinkHolder () | |
IMPORT_C MDataSink & | DataSink () |
IMPORT_C void | HandleRequest ( TMMFMessage &) |
Private Attributes | |
---|---|
MDataSink * | iDataSink |
IMPORT_C | CMMFDataSinkHolder | ( | MDataSink & | aDataSink | ) |
Constructor.
MDataSink & aDataSink | The data sink to be wrapped. |
IMPORT_C | ~CMMFDataSinkHolder | ( | ) |
Destructor.
Note: This deletes the data sink.
IMPORT_C void | HandleRequest | ( | TMMFMessage & | aMessage | ) | [virtual] |
Implementation of the pure virtual function inherited from CMMFObject .
Passes the request directly to the data sink.
TMMFMessage & aMessage | The message to be handled. |
MDataSink * | iDataSink | [private] |
Pointer to the data sink owned by this object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.