class UsbCompositeProtocolClient

Defined at line 96 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

Public Members

static const uint32_t kProtocolId

Public Methods

void UsbCompositeProtocolClient ()

Defined at line 101 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

void UsbCompositeProtocolClient (const usb_composite_protocol_t * proto)

Defined at line 103 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

void UsbCompositeProtocolClient (zx_device_t * parent)

Defined at line 106 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

void UsbCompositeProtocolClient (zx_device_t * parent, const char * fragment_name)

Defined at line 117 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, UsbCompositeProtocolClient * result)

Create a UsbCompositeProtocolClient from the given parent device + "fragment".

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 131 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

zx_status_t CreateFromDevice (zx_device_t * parent, const char * fragment_name, UsbCompositeProtocolClient * result)

Create a UsbCompositeProtocolClient from the given parent device.

If ZX_OK is returned, the created object will be initialized in |result|.

Defined at line 146 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

void GetProto (usb_composite_protocol_t * proto)

Defined at line 158 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

bool is_valid ()

Defined at line 162 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

void clear ()

Defined at line 165 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

uint64_t GetAdditionalDescriptorLength ()

Returns the length of the additional descriptor list.

Defined at line 171 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

zx_status_t GetAdditionalDescriptorList (uint8_t * out_desc_list, size_t desc_count, size_t * out_desc_actual)

Returns the USB descriptors following the interface's existing descriptors.

Defined at line 176 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h

zx_status_t ClaimInterface (const usb_interface_descriptor_t * desc, uint32_t length)

Marks the interface as claimed and appends the interface descriptor to the

interface's existing descriptors.

Defined at line 182 of file fidling/gen/sdk/banjo/fuchsia.hardware.usb.composite/fuchsia.hardware.usb.composite/banjo/cpp/fuchsia/hardware/usb/composite/cpp/banjo.h