RUsbTransferStrategy Class Reference

class RUsbTransferStrategy

Member Functions Documentation

BulkBuffer(TInt)

TPtrC8 BulkBuffer ( TInt aHandle ) const [pure virtual]

Parameters

TInt aHandle

BulkSaveData(TInt, TInt)

void BulkSaveData ( TInt aHandle,
TInt aLength
) [pure virtual]

Parameters

TInt aHandle
TInt aLength

BulkSetZlpStatus(TInt, RUsbTransferDescriptor::TZlpStatus)

void BulkSetZlpStatus ( TInt aHandle,
RUsbTransferDescriptor::TZlpStatus aZlpStatus
) [pure virtual]

Parameters

TInt aHandle
RUsbTransferDescriptor::TZlpStatus aZlpStatus

BulkWritableBuffer(TInt)

TPtr8 BulkWritableBuffer ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

Close()

void Close ( ) [virtual]

InitialiseTransferDescriptors(RUsbInterface &)

TInt InitialiseTransferDescriptors ( RUsbInterface & aInterface ) [pure virtual]

Parameters

RUsbInterface & aInterface

IntrBuffer(TInt)

TPtrC8 IntrBuffer ( TInt aHandle ) const [pure virtual]

Parameters

TInt aHandle

IntrSaveData(TInt, TInt)

void IntrSaveData ( TInt aHandle,
TInt aLength
) [pure virtual]

Parameters

TInt aHandle
TInt aLength

IntrSetZlpStatus(TInt, RUsbTransferDescriptor::TZlpStatus)

void IntrSetZlpStatus ( TInt aHandle,
RUsbTransferDescriptor::TZlpStatus aZlpStatus
) [pure virtual]

Parameters

TInt aHandle
RUsbTransferDescriptor::TZlpStatus aZlpStatus

IntrWritableBuffer(TInt)

TPtr8 IntrWritableBuffer ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

IsocLengths(TInt)

TPacketLengths IsocLengths ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

IsocMaxPacketSize(TInt)

TInt IsocMaxPacketSize ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

IsocPackets(TInt, TInt, TInt, TInt &)

TPtrC8 IsocPackets ( TInt aHandle,
TInt aFirstPacketIndex,
TInt aNumPacketsRequested,
TInt & aNumPacketsReturned
) const [pure virtual]

Parameters

TInt aHandle
TInt aFirstPacketIndex
TInt aNumPacketsRequested
TInt & aNumPacketsReturned

IsocReceivePackets(TInt, TInt)

void IsocReceivePackets ( TInt aHandle,
TInt aNumOfPackets
) [pure virtual]

Parameters

TInt aHandle
TInt aNumOfPackets

IsocReset(TInt)

void IsocReset ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

IsocResults(TInt)

TPacketResults IsocResults ( TInt aHandle ) [pure virtual]

Parameters

TInt aHandle

IsocSaveMultiple(TInt, TInt, TInt)

TInt IsocSaveMultiple ( TInt aHandle,
TInt aWriteHandle,
TInt aNumOfPackets
) [pure virtual]

Parameters

TInt aHandle
TInt aWriteHandle
TInt aNumOfPackets

IsocWritablePackets(TInt, TInt, TInt, TInt &)

TPtr8 IsocWritablePackets ( TInt aHandle,
TInt aWriteHandle,
TInt aNumPacketsRequested,
TInt & aMaxNumPacketsAbleToWrite
) [pure virtual]

Parameters

TInt aHandle
TInt aWriteHandle
TInt aNumPacketsRequested
TInt & aMaxNumPacketsAbleToWrite

RegisterTransferDescriptor(RUsbTransferDescriptor &, TInt, TUint, TInt)

TInt RegisterTransferDescriptor ( RUsbTransferDescriptor & aTransferDesc,
TInt aRequiredSize,
TUint aStartAlignment,
TInt aRequiredMaxPackets
) [pure virtual]

Parameters

RUsbTransferDescriptor & aTransferDesc
TInt aRequiredSize
TUint aStartAlignment
TInt aRequiredMaxPackets

ResetTransferDescriptors()

void ResetTransferDescriptors ( ) [pure virtual]

SetTransferHandle(RUsbTransferDescriptor &, TInt)

void SetTransferHandle ( RUsbTransferDescriptor & aTransfer,
TInt aHandle
) const [protected]

Parameters

RUsbTransferDescriptor & aTransfer
TInt aHandle