TUsbDeviceQualifierDescriptor Class Reference

class TUsbDeviceQualifierDescriptor : public TUsbGenericDescriptor

Device Qualifier descriptor.

See section 9.6.2 of the USB 2.0 specification.

Intended to be available to 3rd parties later

Inherits from

Public Member Functions
TUsbDeviceQualifierDescriptor()
IMPORT_C TUsbDeviceQualifierDescriptor *Cast(TUsbGenericDescriptor *)
IMPORT_C TUint8DeviceClass()
IMPORT_C TUint8DeviceProtocol()
IMPORT_C TUint8DeviceSubClass()
TBool IsParent(TUsbGenericDescriptor &)
TBool IsPeer(TUsbGenericDescriptor &)
IMPORT_C TUint8MaxPacketSize0()
IMPORT_C TUint8NumConfigurations()
TUsbDeviceQualifierDescriptor *ParseL(TPtrC8 &, TUsbGenericDescriptor *)
IMPORT_C TUint8Reserved()
IMPORT_C TUint16USBBcd()
Inherited Functions
TUsbGenericDescriptor::DestroyTree()
TUsbGenericDescriptor::IsChild(TUsbGenericDescriptor &)
TUsbGenericDescriptor::TUint16At(TInt)const
TUsbGenericDescriptor::TUint32At(TInt)const
TUsbGenericDescriptor::TUint8At(TInt)const
TUsbGenericDescriptor::TUsbGenericDescriptor()
TUsbGenericDescriptor::operator TCleanupItem()
TUsbGenericDescriptor::operator=(const TUsbGenericDescriptor &)
Public Member Enumerations
enumTFieldOffsets {
EbcdUSB = 2, EbDeviceClass = 4, EbDeviceSubClass = 5, EbDeviceProtocol = 6, EbMaxPacketSize0 = 7, EbNumConfigurations = 8, EbReserved = 9
}
Inherited Enumerations
TUsbGenericDescriptor:TUsbGenericDescriptorFlags
Public Attributes
const TIntKSizeInOctets
Inherited Attributes
TUsbGenericDescriptor::KbDescriptorTypeOffset
TUsbGenericDescriptor::KbLengthOffset
TUsbGenericDescriptor::iBlob
TUsbGenericDescriptor::iFirstChild
TUsbGenericDescriptor::iNextPeer
TUsbGenericDescriptor::iParent
TUsbGenericDescriptor::iRecognisedAndParsed
TUsbGenericDescriptor::ibDescriptorType
TUsbGenericDescriptor::ibLength

Constructor & Destructor Documentation

TUsbDeviceQualifierDescriptor()

IMPORT_CTUsbDeviceQualifierDescriptor()

Member Functions Documentation

Cast(TUsbGenericDescriptor *)

IMPORT_C TUsbDeviceQualifierDescriptor *Cast(TUsbGenericDescriptor *aOriginal)[static]

Parameters

TUsbGenericDescriptor * aOriginal

DeviceClass()

IMPORT_C TUint8DeviceClass()const

DeviceProtocol()

IMPORT_C TUint8DeviceProtocol()const

DeviceSubClass()

IMPORT_C TUint8DeviceSubClass()const

IsParent(TUsbGenericDescriptor &)

TBool IsParent(TUsbGenericDescriptor &aPotentialParent)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer(TUsbGenericDescriptor &aPotentialPeer)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

MaxPacketSize0()

IMPORT_C TUint8MaxPacketSize0()const

NumConfigurations()

IMPORT_C TUint8NumConfigurations()const

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

TUsbDeviceQualifierDescriptor *ParseL(TPtrC8 &aUsbDes,
TUsbGenericDescriptor *aPreviousDesc
)[static]

The parsing routine for device qualifier descriptors.

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

Reserved()

IMPORT_C TUint8Reserved()const

USBBcd()

IMPORT_C TUint16USBBcd()const

Member Enumerations Documentation

Enum TFieldOffsets

Enumerators

EbcdUSB = 2
EbDeviceClass = 4
EbDeviceSubClass = 5
EbDeviceProtocol = 6
EbMaxPacketSize0 = 7
EbNumConfigurations = 8
EbReserved = 9

Member Data Documentation

const TInt KSizeInOctets

const TIntKSizeInOctets[static]