MMMFDevSoundCustomInterfaceMuxUtility Class Reference

class MMMFDevSoundCustomInterfaceMuxUtility

the custom interface MUX Mixin class implemented by the mux utility

Member Functions Documentation

CloseSlave(TInt)

voidCloseSlave(TIntaHandle)[pure virtual]

Close the slave plugin

Parameters

TInt aHandleThe handle of the slave to close

OpenSlave(TUid, const TDesC8 &)

TInt OpenSlave(TUidaInterface,
const TDesC8 &aPackageBuf
)[pure virtual]

Attempt to open the slave plugin

Parameters

TUid aInterfaceThe UID of the requested slave
const TDesC8 & aPackageBufA buffer that can be used to supply initialisation data

SendSlaveAsyncCommand(TMMFDevSoundCustomInterfaceCommandPackage &, TRequestStatus &, const TDesC8 &)

voidSendSlaveAsyncCommand(TMMFDevSoundCustomInterfaceCommandPackage &aComPackage,
TRequestStatus &aStatus,
const TDesC8 &aPackageBuf
)[pure virtual]

Send an asychronous command to the slave TMMFDevSoundCustomInterfaceCommandPackage

Parameters

TMMFDevSoundCustomInterfaceCommandPackage & aComPackageA package containing the handle of the remote slave and the command to be sent
TRequestStatus & aStatusThe request status of the active object that will called upon the completion of the request
const TDesC8 & aPackageBufBuffer of data to send to slave

SendSlaveAsyncCommandResult(TMMFDevSoundCustomInterfaceCommandPackage &, TRequestStatus &, const TDesC8 &, TDes8 &)

voidSendSlaveAsyncCommandResult(TMMFDevSoundCustomInterfaceCommandPackage &aComPackage,
TRequestStatus &aStatus,
const TDesC8 &aPackageBuf,
TDes8 &aResultBuf
)[pure virtual]

Send an asychronous command to the slave and obtain a result TMMFDevSoundCustomInterfaceCommandPackage

Parameters

TMMFDevSoundCustomInterfaceCommandPackage & aComPackageA package containing the handle of the remote slave and the command to be sent
TRequestStatus & aStatusThe request status of the active object that will be called upon the completion of the request
const TDesC8 & aPackageBufBuffer of data to send to slave
TDes8 & aResultBufBuffer to contain the result from the destination. This must be large enough to contain the result.

SendSlaveSyncCommand(TInt, TInt, const TDesC8 &)

TInt SendSlaveSyncCommand(TIntaHandle,
TIntaCommand,
const TDesC8 &aPackageBuf
)[pure virtual]

Send a synchronous command to the slave

Parameters

TInt aHandleThe handle of the remote slave plugin
TInt aCommandThe command to send to the slave
const TDesC8 & aPackageBufBuffer of data to send to slave

SendSlaveSyncCommandResult(TInt, TInt, const TDesC8 &, TDes8 &)

TInt SendSlaveSyncCommandResult(TIntaHandle,
TIntaCommand,
const TDesC8 &aPackageBuf,
TDes8 &aResultBuf
)[pure virtual]

Send a synchronous command to the slave and obtain a result

Parameters

TInt aHandleThe handle of the remote slave plugin
TInt aCommandThe command to send to the slave
const TDesC8 & aPackageBufBuffer of data to send to slave
TDes8 & aResultBufBuffer to contain the result from the destination. This must be large enough to contain the result.