RUsbTransferStrategy Class Reference

class RUsbTransferStrategy

Member Functions Documentation

BulkBuffer(TInt)

TPtrC8 BulkBuffer(TIntaHandle)const [pure virtual]

Parameters

TInt aHandle

BulkSaveData(TInt, TInt)

voidBulkSaveData(TIntaHandle,
TIntaLength
)[pure virtual]

Parameters

TInt aHandle
TInt aLength

BulkSetZlpStatus(TInt, RUsbTransferDescriptor::TZlpStatus)

voidBulkSetZlpStatus(TIntaHandle,
RUsbTransferDescriptor::TZlpStatusaZlpStatus
)[pure virtual]

Parameters

TInt aHandle
RUsbTransferDescriptor::TZlpStatus aZlpStatus

BulkWritableBuffer(TInt)

TPtr8 BulkWritableBuffer(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

Close()

voidClose()[virtual]

InitialiseTransferDescriptors(RUsbInterface &)

TInt InitialiseTransferDescriptors(RUsbInterface &aInterface)[pure virtual]

Parameters

RUsbInterface & aInterface

IntrBuffer(TInt)

TPtrC8 IntrBuffer(TIntaHandle)const [pure virtual]

Parameters

TInt aHandle

IntrSaveData(TInt, TInt)

voidIntrSaveData(TIntaHandle,
TIntaLength
)[pure virtual]

Parameters

TInt aHandle
TInt aLength

IntrSetZlpStatus(TInt, RUsbTransferDescriptor::TZlpStatus)

voidIntrSetZlpStatus(TIntaHandle,
RUsbTransferDescriptor::TZlpStatusaZlpStatus
)[pure virtual]

Parameters

TInt aHandle
RUsbTransferDescriptor::TZlpStatus aZlpStatus

IntrWritableBuffer(TInt)

TPtr8 IntrWritableBuffer(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

IsocLengths(TInt)

TPacketLengths IsocLengths(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

IsocMaxPacketSize(TInt)

TInt IsocMaxPacketSize(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

IsocPackets(TInt, TInt, TInt, TInt &)

TPtrC8 IsocPackets(TIntaHandle,
TIntaFirstPacketIndex,
TIntaNumPacketsRequested,
TInt &aNumPacketsReturned
)const [pure virtual]

Parameters

TInt aHandle
TInt aFirstPacketIndex
TInt aNumPacketsRequested
TInt & aNumPacketsReturned

IsocReceivePackets(TInt, TInt)

voidIsocReceivePackets(TIntaHandle,
TIntaNumOfPackets
)[pure virtual]

Parameters

TInt aHandle
TInt aNumOfPackets

IsocReset(TInt)

voidIsocReset(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

IsocResults(TInt)

TPacketResults IsocResults(TIntaHandle)[pure virtual]

Parameters

TInt aHandle

IsocSaveMultiple(TInt, TInt, TInt)

TInt IsocSaveMultiple(TIntaHandle,
TIntaWriteHandle,
TIntaNumOfPackets
)[pure virtual]

Parameters

TInt aHandle
TInt aWriteHandle
TInt aNumOfPackets

IsocWritablePackets(TInt, TInt, TInt, TInt &)

TPtr8 IsocWritablePackets(TIntaHandle,
TIntaWriteHandle,
TIntaNumPacketsRequested,
TInt &aMaxNumPacketsAbleToWrite
)[pure virtual]

Parameters

TInt aHandle
TInt aWriteHandle
TInt aNumPacketsRequested
TInt & aMaxNumPacketsAbleToWrite

RegisterTransferDescriptor(RUsbTransferDescriptor &, TInt, TUint, TInt)

TInt RegisterTransferDescriptor(RUsbTransferDescriptor &aTransferDesc,
TIntaRequiredSize,
TUintaStartAlignment,
TIntaRequiredMaxPackets
)[pure virtual]

Parameters

RUsbTransferDescriptor & aTransferDesc
TInt aRequiredSize
TUint aStartAlignment
TInt aRequiredMaxPackets

ResetTransferDescriptors()

voidResetTransferDescriptors()[pure virtual]

SetTransferHandle(RUsbTransferDescriptor &, TInt)

voidSetTransferHandle(RUsbTransferDescriptor &aTransfer,
TIntaHandle
)const [protected]

Parameters

RUsbTransferDescriptor & aTransfer
TInt aHandle