class DeviceDescriptor
Defined at line 120 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
The fields in DeviceDescriptor match those in usb_descriptor_t in the USB specification,
except for the string fields.
Public Methods
void DeviceDescriptor (uint16_t bcd_usb, uint8_t b_device_class, uint8_t b_device_sub_class, uint8_t b_device_protocol, uint8_t b_max_packet_size0, uint16_t id_vendor, uint16_t id_product, uint16_t bcd_device, ::std::string manufacturer, ::std::string product, ::std::string serial, uint8_t b_num_configurations)
void DeviceDescriptor ()
Default constructs a |DeviceDescriptor| only if all of its members are default constructible.
Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
void DeviceDescriptor (DeviceDescriptor && )
Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
void DeviceDescriptor (Storage_ storage)
void DeviceDescriptor (const DeviceDescriptor & other)
DeviceDescriptor & operator= (const DeviceDescriptor & other)
bool operator== (const DeviceDescriptor & other)
bool operator!= (const DeviceDescriptor & other)
uint16_t bcd_usb ()
uint16_t & bcd_usb ()
DeviceDescriptor & bcd_usb (uint16_t value)
Setter for bcd_usb.
uint8_t b_device_class ()
uint8_t & b_device_class ()
DeviceDescriptor & b_device_class (uint8_t value)
Setter for b_device_class.
uint8_t b_device_sub_class ()
uint8_t & b_device_sub_class ()
DeviceDescriptor & b_device_sub_class (uint8_t value)
Setter for b_device_sub_class.
uint8_t b_device_protocol ()
uint8_t & b_device_protocol ()
DeviceDescriptor & b_device_protocol (uint8_t value)
Setter for b_device_protocol.
uint8_t b_max_packet_size0 ()
uint8_t & b_max_packet_size0 ()
DeviceDescriptor & b_max_packet_size0 (uint8_t value)
Setter for b_max_packet_size0.
uint16_t id_vendor ()
uint16_t & id_vendor ()
DeviceDescriptor & id_vendor (uint16_t value)
Setter for id_vendor.
uint16_t id_product ()
uint16_t & id_product ()
DeviceDescriptor & id_product (uint16_t value)
Setter for id_product.
uint16_t bcd_device ()
uint16_t & bcd_device ()
DeviceDescriptor & bcd_device (uint16_t value)
Setter for bcd_device.
const ::std::string & manufacturer ()
::std::string & manufacturer ()
DeviceDescriptor & manufacturer (::std::string value)
Setter for manufacturer.
DeviceDescriptor & operator= (DeviceDescriptor && )
Defined at line 135 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/natural_types.h
const ::std::string & product ()
::std::string & product ()
DeviceDescriptor & product (::std::string value)
Setter for product.
const ::std::string & serial ()
::std::string & serial ()
DeviceDescriptor & serial (::std::string value)
Setter for serial.
uint8_t b_num_configurations ()
uint8_t & b_num_configurations ()
DeviceDescriptor & b_num_configurations (uint8_t value)
Setter for b_num_configurations.
void DeviceDescriptor (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits