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 TUint8 DeviceClass ()
IMPORT_C TUint8 DeviceProtocol ()
IMPORT_C TUint8 DeviceSubClass ()
TBool IsParent ( TUsbGenericDescriptor &)
TBool IsPeer ( TUsbGenericDescriptor &)
IMPORT_C TUint8 MaxPacketSize0 ()
IMPORT_C TUint8 NumConfigurations ()
TUsbDeviceQualifierDescriptor * ParseL ( TPtrC8 &, TUsbGenericDescriptor *)
IMPORT_C TUint8 Reserved ()
IMPORT_C TUint16 USBBcd ()
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
enum TFieldOffsets {
EbcdUSB  = 2, EbDeviceClass  = 4, EbDeviceSubClass  = 5, EbDeviceProtocol  = 6, EbMaxPacketSize0  = 7, EbNumConfigurations  = 8, EbReserved  = 9
}
Inherited Enumerations
TUsbGenericDescriptor:TUsbGenericDescriptorFlags
Public Attributes
const TInt KSizeInOctets
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_C TUsbDeviceQualifierDescriptor ( )

Member Functions Documentation

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

DeviceClass()

IMPORT_C TUint8 DeviceClass ( ) const

DeviceProtocol()

IMPORT_C TUint8 DeviceProtocol ( ) const

DeviceSubClass()

IMPORT_C TUint8 DeviceSubClass ( ) const

IsParent(TUsbGenericDescriptor &)

TBool IsParent ( TUsbGenericDescriptor & aPotentialParent ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer ( TUsbGenericDescriptor & aPotentialPeer ) [virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

MaxPacketSize0()

IMPORT_C TUint8 MaxPacketSize0 ( ) const

NumConfigurations()

IMPORT_C TUint8 NumConfigurations ( ) 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 TUint8 Reserved ( ) const

USBBcd()

IMPORT_C TUint16 USBBcd ( ) 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 TInt KSizeInOctets [static]