class InterfaceList
Defined at line 523 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
An InterfaceList can be used for enumerating USB interfaces. It implements a standard C++
iterator interface that returns Interface. All descriptors accessed by child classes are valid
only for the lifetime of this InterfaceList object.
The InterfaceList will skip any alternate interfaces if skip_alt is true (see usb2.0 ch9.6.5).
Public Methods
zx_status_t Create (const ddk::UsbProtocolClient &client,boolskip_alt,std::optional<InterfaceList> *out)
Defined at line 17 of file ../../src/devices/usb/lib/usb/usb-wrapper.cc
void InterfaceList ()
Defined at line 525 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
void InterfaceList (const usb_desc_iter_t & iter, bool skip_alt)
Defined at line 527 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
void InterfaceList (InterfaceList && )
Defined at line 530 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
InterfaceList & operator= (InterfaceList && )
Defined at line 531 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
void ~InterfaceList ()
Defined at line 533 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
size_t size ()
Defined at line 542 of file ../../src/devices/usb/lib/usb/include/usb/usb.h