TUsbInterfaceAssociationDescriptor Class Reference

class TUsbInterfaceAssociationDescriptor : public TUsbGenericDescriptor

Interface Association Descriptor

See the USB IAD ECN.

Intended to be available to 3rd parties later

Inherits from

Public Member Functions
TUsbInterfaceAssociationDescriptor()
IMPORT_C TUsbInterfaceAssociationDescriptor *Cast(TUsbGenericDescriptor *)
IMPORT_C TUint8FirstInterface()
IMPORT_C TUint8FunctionClass()
IMPORT_C TUint8FunctionIndex()
IMPORT_C TUint8FunctionProtocol()
IMPORT_C TUint8FunctionSubClass()
IMPORT_C TUint8InterfaceCount()
TBool IsChild(TUsbGenericDescriptor &)
TBool IsParent(TUsbGenericDescriptor &)
TBool IsPeer(TUsbGenericDescriptor &)
TUsbInterfaceAssociationDescriptor *ParseL(TPtrC8 &, TUsbGenericDescriptor *)
Inherited Functions
TUsbGenericDescriptor::DestroyTree()
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 {
EbFirstInterface = 2, EbInterfaceCount = 3, EbFunctionClass = 4, EbFunctionSubClass = 5, EbFunctionProtocol = 6, EiFunction = 7
}
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

TUsbInterfaceAssociationDescriptor()

IMPORT_CTUsbInterfaceAssociationDescriptor()

Member Functions Documentation

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

FirstInterface()

IMPORT_C TUint8FirstInterface()const

FunctionClass()

IMPORT_C TUint8FunctionClass()const

FunctionIndex()

IMPORT_C TUint8FunctionIndex()const

FunctionProtocol()

IMPORT_C TUint8FunctionProtocol()const

FunctionSubClass()

IMPORT_C TUint8FunctionSubClass()const

InterfaceCount()

IMPORT_C TUint8InterfaceCount()const

IsChild(TUsbGenericDescriptor &)

TBool IsChild(TUsbGenericDescriptor &aPotentialChild)[virtual]

This function determines whether the given USB descriptor is a child of the descriptor the method is called on. The implementation may be specialised for each type of descriptor to ensure the tree is correctly built up.

Parameters

TUsbGenericDescriptor & aPotentialChildThe USB descriptor that is being queried to see if it is a child.

IsParent(TUsbGenericDescriptor &)

TBool IsParent(TUsbGenericDescriptor &aPotentialParent)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialParent

IsPeer(TUsbGenericDescriptor &)

TBool IsPeer(TUsbGenericDescriptor &aPotentialPeer)[virtual]

Parameters

TUsbGenericDescriptor & aPotentialPeer

ParseL(TPtrC8 &, TUsbGenericDescriptor *)

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

Parameters

TPtrC8 & aUsbDes
TUsbGenericDescriptor * aPreviousDesc

Member Enumerations Documentation

Enum TFieldOffsets

Enumerators

EbFirstInterface = 2
EbInterfaceCount = 3
EbFunctionClass = 4
EbFunctionSubClass = 5
EbFunctionProtocol = 6
EiFunction = 7

Member Data Documentation

const TInt KSizeInOctets

const TIntKSizeInOctets[static]