MMMFDevSoundCustomInterfaceMuxUtility Class Reference
class MMMFDevSoundCustomInterfaceMuxUtility
|
the custom interface MUX Mixin class implemented by the mux utility
Public Member Functions
|
void
|
CloseSlave
(
TInt
)
|
TInt
|
OpenSlave
(
TUid
, const
TDesC8
&)
|
void
|
SendSlaveAsyncCommand
(
TMMFDevSoundCustomInterfaceCommandPackage
&,
TRequestStatus
&, const
TDesC8
&)
|
void
|
SendSlaveAsyncCommandResult
(
TMMFDevSoundCustomInterfaceCommandPackage
&,
TRequestStatus
&, const
TDesC8
&,
TDes8
&)
|
TInt
|
SendSlaveSyncCommand
(
TInt
,
TInt
, const
TDesC8
&)
|
TInt
|
SendSlaveSyncCommandResult
(
TInt
,
TInt
, const
TDesC8
&,
TDes8
&)
|
Member Functions Documentation
CloseSlave(TInt)
void
|
CloseSlave
|
(
|
TInt
|
aHandle
|
)
|
[pure virtual]
|
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 &)
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 &)
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.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.