class InterfaceList
Defined at line 476 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, bool skip_alt, std::optional<InterfaceList> * out)
Defined at line 15 of file ../../src/devices/usb/lib/usb/usb-wrapper.cc
void InterfaceList ()
Defined at line 478 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 480 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
void InterfaceList (InterfaceList && )
Defined at line 483 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
InterfaceList & operator= (InterfaceList && )
Defined at line 484 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
void ~InterfaceList ()
Defined at line 486 of file ../../src/devices/usb/lib/usb/include/usb/usb.h
size_t size ()
Defined at line 495 of file ../../src/devices/usb/lib/usb/include/usb/usb.h