MMMFDevSoundCustomInterfaceMuxUtility Class Reference

class MMMFDevSoundCustomInterfaceMuxUtility

the custom interface MUX Mixin class implemented by the mux utility

Member Functions Documentation

CloseSlave(TInt)

void CloseSlave ( TInt aHandle ) [pure virtual]

Close the slave plugin

Parameters

TInt aHandle The handle of the slave to close

OpenSlave(TUid, const TDesC8 &)

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

Attempt to open the slave plugin

Parameters

TUid aInterface The UID of the requested slave
const TDesC8 & aPackageBuf A buffer that can be used to supply initialisation data

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

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

Send an asychronous command to the slave TMMFDevSoundCustomInterfaceCommandPackage

Parameters

TMMFDevSoundCustomInterfaceCommandPackage & aComPackage A package containing the handle of the remote slave and the command to be sent
TRequestStatus & aStatus The request status of the active object that will called upon the completion of the request
const TDesC8 & aPackageBuf Buffer of data to send to slave

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

void SendSlaveAsyncCommandResult ( 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 & aComPackage A package containing the handle of the remote slave and the command to be sent
TRequestStatus & aStatus The request status of the active object that will be called upon the completion of the request
const TDesC8 & aPackageBuf Buffer of data to send to slave
TDes8 & aResultBuf Buffer to contain the result from the destination. This must be large enough to contain the result.

SendSlaveSyncCommand(TInt, TInt, const TDesC8 &)

TInt SendSlaveSyncCommand ( TInt aHandle,
TInt aCommand,
const TDesC8 & aPackageBuf
) [pure virtual]

Send a synchronous command to the slave

Parameters

TInt aHandle The handle of the remote slave plugin
TInt aCommand The command to send to the slave
const TDesC8 & aPackageBuf Buffer of data to send to slave

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

TInt SendSlaveSyncCommandResult ( TInt aHandle,
TInt aCommand,
const TDesC8 & aPackageBuf,
TDes8 & aResultBuf
) [pure virtual]

Send a synchronous command to the slave and obtain a result

Parameters

TInt aHandle The handle of the remote slave plugin
TInt aCommand The command to send to the slave
const TDesC8 & aPackageBuf Buffer of data to send to slave
TDes8 & aResultBuf Buffer to contain the result from the destination. This must be large enough to contain the result.