MMdfOutputPort Class Reference

class MMdfOutputPort

Codec API Output Port interface.

Member Functions Documentation

MopBufferSize()

TUint32 MopBufferSize()const [pure virtual]

Synchronous function used to get the size of the buffer(s) used by the Output Port.

MopConfigure(const TPuConfig &)

TInt MopConfigure(const TPuConfig &aConfiguration)[pure virtual]

Synchronous function used to configure the Output Port.

Parameters

const TPuConfig & aConfigurationHolds the configuration parameters for the Output Port.

MopCreateBuffer(TInt)

CMMFBuffer *MopCreateBuffer(TIntaBufferSize)[pure virtual]

Synchronous function used to instruct the Output Port to create a buffer.

Parameters

TInt aBufferSizeThe size of the buffer to be created.

MopCreateCustomInterface(TUid)

TInt MopCreateCustomInterface(TUidaUid)[pure virtual]

Request extension feature. This is intended to provide additional features.

Parameters

TUid aUidUsed to indicate which interface is required.

MopCustomInterface(TUid)

TAny *MopCustomInterface(TUidaUid)[pure virtual]

Return previously created extension. This returns a custom interface whose ownership is not transferred to the caller. This should only be used if CreateCustomInterface() has already been called for the same UID value. This means that any construction for that interface has already been called, and thus this call cannot fail. MopCreateCustomInterface()

Parameters

TUid aUidUsed to indicate which interface is required.

MopDisconnectTunnel()

voidMopDisconnectTunnel()[pure virtual]

Asynchronous function used to disconnect a tunnelled port, and thus stop the data processing.

MopFreeBuffer(CMMFBuffer *)

TInt MopFreeBuffer(CMMFBuffer *aBuffer)[pure virtual]

Synchronous function used to instruct the Output Port to free the buffer passed in the function's argument.

Parameters

CMMFBuffer * aBufferThe buffer to be freed

MopGetConfig(TPuConfig &)

TInt MopGetConfig(TPuConfig &aConfigurationSetup)[pure virtual]

Synchronous method which gets a configuration structure for the Output Port

Parameters

TPuConfig & aConfigurationSetupThe reference to the structure that is to contain the configuration information

MopIndex()

TInt MopIndex()const [pure virtual]

Synchronous function used to get the Output Port index

MopInitialize()

voidMopInitialize()[pure virtual]

Synchronous function used to initialise the Output Port.

MopIsTunnelled()

TBool MopIsTunnelled()const [pure virtual]

Synchronous function used to find out if an Output Port is tunnelled or not.

MopReadData(CMMFBuffer &)

voidMopReadData(CMMFBuffer &aBuffer)[pure virtual]

Asynchronous function used to read data from the Output Port.

Parameters

CMMFBuffer & aBufferReference to the buffer containing data.

MopRestartTunnel()

voidMopRestartTunnel()[pure virtual]

Asynchronous function used to restart the data processing of a tunnelled port.

MopSetObserver(const MMdfOutputPortObserver &)

voidMopSetObserver(const MMdfOutputPortObserver &aOutputPortObserver)[pure virtual]

Synchronous function used to set the observer for the Output Port.

Parameters

const MMdfOutputPortObserver & aOutputPortObserverThe observer of the Output Port.

MopTunnelRequest(const MMdfInputPort &, TTunnelFlags &, TSupplierType &)

TInt MopTunnelRequest(const MMdfInputPort &aInputPortToBeConnectedTo,
TTunnelFlags &aTunnelFlags,
TSupplierType &aSupplierType
)[pure virtual]

Synchronous function used to request the set up of a tunnel between this Output Port and an Input Port.

Parameters

const MMdfInputPort & aInputPortToBeConnectedToReference to the Input Port to be connected to.
TTunnelFlags & aTunnelFlagsControl flags for tunneling
TSupplierType & aSupplierTypeSpecifies the supplier of the buffers for the tunnel.

MopUseBuffer(CMMFBuffer &)

TInt MopUseBuffer(CMMFBuffer &aBuffer)[pure virtual]

Synchronous function used to instruct the Output Port to use the buffer passed in the function's argument.

Parameters

CMMFBuffer & aBufferThe buffer to be used by the Output Port.