CSbcEncoderIntfcMsgHdlr Class Reference

class CSbcEncoderIntfcMsgHdlr : public CMMFObject

Handle messages from interface proxy. The class receives the messages sent by the custom interface proxy and makes the appropriate call on its custom interface implementation.

SbcEncoderIntfcMsgHdlr.lib
Since
S60 3.0

Inherits from

Constructor & Destructor Documentation

CSbcEncoderIntfcMsgHdlr(CSbcEncoderIntfc *)

CSbcEncoderIntfcMsgHdlr ( CSbcEncoderIntfc * aSbcEncoderIntfcCI ) [private]

C++ default constructor.

CSbcEncoderIntfcMsgHdlr::CSbcEncoderIntfcMsgHdlr C++ default constructor can NOT contain any code, that might leave.

Parameters

CSbcEncoderIntfc * aSbcEncoderIntfcCI

~CSbcEncoderIntfcMsgHdlr()

IMPORT_C ~CSbcEncoderIntfcMsgHdlr ( ) [virtual]

Destructor.

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd phase constructor.

CSbcEncoderIntfcMsgHdlr::ConstructL Symbian 2nd phase constructor can leave.

CreateBufFromUintArrayL(RArray< TUint > &)

void CreateBufFromUintArrayL ( RArray < TUint > & aArray ) [private]
Utility method converting a TUint-type array to a buffer stream.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::CreateBufFromUintArrayL Utility function used to create a buffer and fill it with data from the array passed in. (other items were commented in a header).

Parameters

RArray < TUint > & aArray

DoApplyConfigL(TMMFMessage &)

void DoApplyConfigL ( TMMFMessage & aMessage ) [private]
Handles request for commiting configuration settings.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoApplyConfigL Handles the message from the proxy to commit configuration settings and calls the custom interface method. The data passed from the proxy is read from the message and passed to the custom interface. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetNumOfSupportedAllocationMethodsL(TMMFMessage &)

void DoGetNumOfSupportedAllocationMethodsL ( TMMFMessage & aMessage ) [private]
Handles request for the number of supported allocation methods.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetNumOfSupportedAllocationMethodsL Handles the message from the proxy and calls the custom interface. The custom interface returns the data requested and this function writes it back to the proxy. It also creates a buffer and fills the supported allocation methods data to be returned in the subsequent call to DoGetSupportedAllocationMethodsL() . (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetNumOfSupportedBlocksL(TMMFMessage &)

void DoGetNumOfSupportedBlocksL ( TMMFMessage & aMessage ) [private]
Handles request for the number of supported blocks.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetNumOfSupportedBlocksL Handles the message from the proxy and calls the custom interface. The custom interface returns the data requested and this function writes it back to the proxy. It also creates a buffer and fills the supported blocks data to be returned in the subsequent call to DoGetSupportedBlocksL() . (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetNumOfSupportedChannelModesL(TMMFMessage &)

void DoGetNumOfSupportedChannelModesL ( TMMFMessage & aMessage ) [private]
Handles request for the number of supported channel modes.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetNumOfSupportedChannelModesL Handles the message from the proxy and calls the custom interface. The custom interface returns the data requested and this function writes it back to the proxy. It also creates a buffer and fills the sampling frequencies data to be returned in the subsequent call to DoGetSupportedChannelModesL() . (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetNumOfSupportedNumOfSubbandsL(TMMFMessage &)

void DoGetNumOfSupportedNumOfSubbandsL ( TMMFMessage & aMessage ) [private]
Handles request for the number of supported subbands.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetNumOfSupportedNumOfSubbandsL Handles the message from the proxy and calls the custom interface. The custom interface returns the data requested and this function writes it back to the proxy. It also creates a buffer and fills the supported subbands data to be returned in the subsequent call to DoGetSupportedNumOfSubbandsL() . (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetNumOfSupportedSamplingFrequenciesL(TMMFMessage &)

void DoGetNumOfSupportedSamplingFrequenciesL ( TMMFMessage & aMessage ) [private]
Handles request for the number of supported sampling frequecies.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetNumOfSupportedSamplingFrequenciesL Handles the message from the proxy and calls the custom interface. The custom interface returns the data requested and this function writes it back to the proxy. It also creates a buffer and fills the sampling frequencies data to be returned in the subsequent call to DoGetSupportedSamplingFrequenciesL() . (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedAllocationMethodsL(TMMFMessage &)

void DoGetSupportedAllocationMethodsL ( TMMFMessage & aMessage ) [private]
Handles request for returning of all supported allocation methods.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedAllocationMethodsL Sends the supported allocation methods data returned from the custom interface implementation to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedBitpoolRangeL(TMMFMessage &)

void DoGetSupportedBitpoolRangeL ( TMMFMessage & aMessage ) [private]
Handles request for the supported bitpool range.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedBitpoolRangeL Handles the message from the proxy and calls the custom interface. The custom interface returns the requested bitpool range and this function writes it back to the proxy. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedBlocksL(TMMFMessage &)

void DoGetSupportedBlocksL ( TMMFMessage & aMessage ) [private]
Handles request for returning of all supported blocks.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedBlocksL Sends the supported blocks data returned from the custom interface implementation to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedChannelModesL(TMMFMessage &)

void DoGetSupportedChannelModesL ( TMMFMessage & aMessage ) [private]
Handles request for returning of all supported channel modes.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedChannelModesL Sends the channel modes data returned from the custom interface implementation to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedNumOfSubbandsL(TMMFMessage &)

void DoGetSupportedNumOfSubbandsL ( TMMFMessage & aMessage ) [private]
Handles request for returning of all supported subbands.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedNumOfSubbandsL Sends the supported subbands data returned from the custom interface implementation to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoGetSupportedSamplingFrequenciesL(TMMFMessage &)

void DoGetSupportedSamplingFrequenciesL ( TMMFMessage & aMessage ) [private]
Handles request for returning of all supported sampling frequecies.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoGetSupportedSamplingFrequenciesL Sends the sampling frequency data returned from the custom interface implementation to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoHandleRequestL(TMMFMessage &)

void DoHandleRequestL ( TMMFMessage & aMessage ) [private]
Handles the messages from the proxy. Determines which custom interface to call.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::DoHandleRequestL Determines which custom interface to call. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

HandleRequest(TMMFMessage &)

IMPORT_C void HandleRequest ( TMMFMessage & aMessage ) [virtual]

From CMMFObject Handles the messages from the proxy. Calls a subfunction which determines which custom interface to call. A subfunction is used to contain multiple leaving functions for a single trap.

CSbcEncoderIntfcMsgHdlr::HandleRequest Handles the messages from the proxy. Calls a subfunction which determines which custom interface to call. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

NewL(TAny *)

IMPORT_C CSbcEncoderIntfcMsgHdlr * NewL ( TAny * aSbcEncoderIntfcCI ) [static]

Two-phased constructor.

CSbcEncoderIntfcMsgHdlr::NewL Two-phased constructor.

Parameters

TAny * aSbcEncoderIntfcCI

SendDataBufferToClientL(TMMFMessage &)

void SendDataBufferToClientL ( TMMFMessage & aMessage ) [private]
Sends data buffer to the client.
Since
S60 3.0
CSbcEncoderIntfcMsgHdlr::SendDataBufferToClientL Sends message with requested configuration data back to the client. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

Member Data Documentation

CBufFlat * iDataCopyBuffer

CBufFlat * iDataCopyBuffer [private]

CSbcEncoderIntfc * iSbcEncoderIntfcCI

CSbcEncoderIntfc * iSbcEncoderIntfcCI [private]