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 TUint8 FirstInterface ()
IMPORT_C TUint8 FunctionClass ()
IMPORT_C TUint8 FunctionIndex ()
IMPORT_C TUint8 FunctionProtocol ()
IMPORT_C TUint8 FunctionSubClass ()
IMPORT_C TUint8 InterfaceCount ()
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
enum TFieldOffsets {
EbFirstInterface  = 2, EbInterfaceCount  = 3, EbFunctionClass  = 4, EbFunctionSubClass  = 5, EbFunctionProtocol  = 6, EiFunction  = 7
}
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

TUsbInterfaceAssociationDescriptor()

IMPORT_C TUsbInterfaceAssociationDescriptor ( )

Member Functions Documentation

Cast(TUsbGenericDescriptor *)

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

Parameters

TUsbGenericDescriptor * aOriginal

FirstInterface()

IMPORT_C TUint8 FirstInterface ( ) const

FunctionClass()

IMPORT_C TUint8 FunctionClass ( ) const

FunctionIndex()

IMPORT_C TUint8 FunctionIndex ( ) const

FunctionProtocol()

IMPORT_C TUint8 FunctionProtocol ( ) const

FunctionSubClass()

IMPORT_C TUint8 FunctionSubClass ( ) const

InterfaceCount()

IMPORT_C TUint8 InterfaceCount ( ) 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 & aPotentialChild The 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 TInt KSizeInOctets [static]