RUsbTransferDescriptor Class Reference

class RUsbTransferDescriptor

Base class for all transfer descriptors.

Intended to be available to 3rd parties later

Constructor & Destructor Documentation

RUsbTransferDescriptor(TTransferType, TInt, TInt)

RUsbTransferDescriptor ( TTransferType aType,
TInt aMaxSize,
TInt aMaxNumPackets
) [protected]

Constructor protected to as this class is only intended as a base class.

Parameters

TTransferType aType
TInt aMaxSize
TInt aMaxNumPackets

Member Functions Documentation

Close()

void Close ( ) [virtual]

Releases resources allocated to this transfer descriptor.

Member Enumerations Documentation

Enum TTransferType

Enumerators

EBulk
EIsochronous
EInterrupt

Enum TZlpStatus

Enumerators

ESuppressZlp
ESendZlpIfRequired
EAlwaysSendZlp

Member Data Documentation

const TInt KInvalidHandle

const TInt KInvalidHandle [protected, static]

TInt iHandle

TInt iHandle [protected]

Handle into the transfer strategy for the descriptor.

const TInt iMaxNumPackets

const TInt iMaxNumPackets

Used to specify the maximum number of packets the descriptor will hold.

const TInt iMaxSize

const TInt iMaxSize

For isochronous transfers this refers to the maximum packet size packets in this descriptor may be. For other transfers this refers to the maximum size of the transfer.

RUsbTransferStrategy * iTransferStrategy

RUsbTransferStrategy * iTransferStrategy [protected]

A pointer to the transfer strategy the descriptor is registered in.

const TTransferType iType

const TTransferType iType

The type of transfer descriptor this instance represents.