RUsbIsocTransferDescriptor Class Reference
class RUsbIsocTransferDescriptor : public RUsbTransferDescriptor
|
Provides *SEQUENTIAL* access to the packet slots in an isochronous transfer descriptor. As some HCs may pack the buffer space tightly, with one packet starting immediately after the preceeding one, random access is not possible -- in this implementation, even replacing the content of a slot with another packet of the same size is not 'intentionally' possible. Note that reading data is possible in a random access manner -- the sequential constraint only applies to writing. Intended to be available to 3rd parties later
Inherits from
-
RUsbIsocTransferDescriptor
Constructor & Destructor Documentation
RUsbIsocTransferDescriptor(TInt, TInt)
IMPORT_C
|
RUsbIsocTransferDescriptor
|
(
|
TInt
|
aMaxPacketSize,
|
|
TInt
|
aMaxNumPackets
|
|
)
|
|
Member Functions Documentation
MaxPacketSize()
IMPORT_C
TInt
|
MaxPacketSize
|
(
|
)
|
|
Packets(TInt, TInt, TInt &)
IMPORT_C
TPtrC8
|
Packets
|
(
|
TInt
|
aFirstPacketIndex,
|
|
TInt
|
aNumPacketsRequested,
|
|
TInt
&
|
aNumOfPacketsReturned
|
|
)
|
const
|
Parameters
TInt
aFirstPacketIndex
|
|
TInt
aNumPacketsRequested
|
|
TInt
& aNumOfPacketsReturned
|
|
ReceivePackets(TInt)
IMPORT_C void
|
ReceivePackets
|
(
|
TInt
|
aNumOfPackets
|
)
|
|
SaveMultiple(TInt)
IMPORT_C void
|
SaveMultiple
|
(
|
TInt
|
aNumOfPackets
|
)
|
|
WritablePackets(TInt, TInt &)
IMPORT_C
TPtr8
|
WritablePackets
|
(
|
TInt
|
aNumPacketsRequested,
|
|
TInt
&
|
aMaxNumOfPacketsAbleToWrite
|
|
)
|
|
Parameters
TInt
aNumPacketsRequested
|
|
TInt
& aMaxNumOfPacketsAbleToWrite
|
|
Member Data Documentation
TInt
iWriteHandle
TInt
|
iWriteHandle
|
[private]
|
The handle to represent the current point in writing an isoc. transfer.
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.