CMMFDataSourceHolder Class Reference

class CMMFDataSourceHolder : public CMMFObject

CMMFObject-derived class to wrap a Data Source.

Allows a handle to be attributed to a data source, 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

CMMFDataSourceHolder(MDataSource &)

IMPORT_C CMMFDataSourceHolder ( MDataSource & aDataSource )

Constructor.

Since
7.0s

Parameters

MDataSource & aDataSource The data source to be wrapped.

~CMMFDataSourceHolder()

IMPORT_C ~CMMFDataSourceHolder ( )

Destructor.

Note: This deletes the data source.

Since
7.0s

Member Functions Documentation

DataSource()

IMPORT_C MDataSource & DataSource ( )

Returns a reference to the data source.

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 source.

Since
7.0s

Parameters

TMMFMessage & aMessage The message to be handled.

Member Data Documentation

MDataSource * iDataSource

MDataSource * iDataSource [private]

Pointer to the data source owned by this object.