TUsbInterfaceDescriptor Class Reference

class TUsbInterfaceDescriptor : public TUsbGenericDescriptor

Interface descriptor.

See section 9.6.5 of the USB 2.0 specification.

Intended to be available to 3rd parties later

Inherits from

Public Member Functions
TUsbInterfaceDescriptor()
IMPORT_C TUint8AlternateSetting()
IMPORT_C TUsbInterfaceDescriptor *Cast(TUsbGenericDescriptor *)
IMPORT_C TUint8Interface()
IMPORT_C TUint8InterfaceClass()
IMPORT_C TUint8InterfaceNumber()
IMPORT_C TUint8InterfaceProtocol()
IMPORT_C TUint8InterfaceSubClass()
TBool IsParent(TUsbGenericDescriptor &)
TBool IsPeer(TUsbGenericDescriptor &)
IMPORT_C TUint8NumEndpoints()
TUsbInterfaceDescriptor *ParseL(TPtrC8 &, TUsbGenericDescriptor *)
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 {
EbInterfaceNumber = 2, EbAlternateSetting = 3, EbNumEndpoints = 4, EbInterfaceClass = 5, EbInterfaceSubClass = 6, EbInterfaceProtocol = 7, EiInterface = 8
}
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

TUsbInterfaceDescriptor()

IMPORT_CTUsbInterfaceDescriptor()

Member Functions Documentation

AlternateSetting()

IMPORT_C TUint8AlternateSetting()const

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

Interface()

IMPORT_C TUint8Interface()const

InterfaceClass()

IMPORT_C TUint8InterfaceClass()const

InterfaceNumber()

IMPORT_C TUint8InterfaceNumber()const

InterfaceProtocol()

IMPORT_C TUint8InterfaceProtocol()const

InterfaceSubClass()

IMPORT_C TUint8InterfaceSubClass()const

IsParent(TUsbGenericDescriptor &)

TBool IsParent(TUsbGenericDescriptor &aPotentialParent)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer(TUsbGenericDescriptor &aPotentialPeer)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

NumEndpoints()

IMPORT_C TUint8NumEndpoints()const

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

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

The parsing routine for interface descriptors.

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

Member Enumerations Documentation

Enum TFieldOffsets

Enumerators

EbInterfaceNumber = 2
EbAlternateSetting = 3
EbNumEndpoints = 4
EbInterfaceClass = 5
EbInterfaceSubClass = 6
EbInterfaceProtocol = 7
EiInterface = 8

Member Data Documentation

const TInt KSizeInOctets

const TIntKSizeInOctets[static]