class HidInfo

Defined at line 180 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

Contains both information shared among HID protocols and specific to HID

devices, and information passed along by the low-level transport.

Public Methods

void HidInfo ()

Defined at line 182 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

void HidInfo (const HidInfo & other)

Defined at line 183 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

void HidInfo (HidInfo && other)

Defined at line 185 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_hardware_hidbus::wire::HidInfo> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_hardware_hidbus::wire::HidInfo> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_hidbus::wire::HidInfo>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

uint8_t & dev_num ()
bool has_dev_num ()
::fuchsia_hardware_hidbus::wire::HidBootProtocol & boot_protocol ()
bool has_boot_protocol ()
uint32_t & vendor_id ()
bool has_vendor_id ()
uint32_t & product_id ()
bool has_product_id ()
uint32_t & version ()
bool has_version ()
int64_t & polling_rate ()

polling rate if applicable in usec

bool has_polling_rate ()
::fidl::StringView & manufacturer_name ()

Human-readable name of the manufacturer. Optional.

bool has_manufacturer_name ()
::fidl::StringView & product_name ()

Human-readable name of the product. Optional.

bool has_product_name ()
::fidl::StringView & serial_number ()

Serial number of the device. Optional.

bool has_serial_number ()
HidInfo & set_dev_num (uint8_t elem)
HidInfo & clear_dev_num ()
HidInfo & set_boot_protocol (::fuchsia_hardware_hidbus::wire::HidBootProtocol elem)
HidInfo & clear_boot_protocol ()
HidInfo & set_vendor_id (uint32_t elem)
HidInfo & clear_vendor_id ()
HidInfo & set_product_id (uint32_t elem)
HidInfo & clear_product_id ()
HidInfo & set_version (uint32_t elem)
HidInfo & clear_version ()
HidInfo & set_polling_rate (::fidl::ObjectView<int64_t> elem)
HidInfo & set_polling_rate (std::nullptr_t )
HidInfo & clear_polling_rate ()
HidInfo & set_manufacturer_name (::fidl::ObjectView< ::fidl::StringView> elem)
HidInfo & set_manufacturer_name (std::nullptr_t )
HidInfo & clear_manufacturer_name ()
HidInfo & set_product_name (::fidl::ObjectView< ::fidl::StringView> elem)
HidInfo & set_product_name (std::nullptr_t )
HidInfo & clear_product_name ()
HidInfo & set_serial_number (::fidl::ObjectView< ::fidl::StringView> elem)
HidInfo & set_serial_number (std::nullptr_t )
HidInfo & clear_serial_number ()
void HidInfo (::fidl::AnyArena & allocator)
void HidInfo (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_hidbus::wire::HidInfo>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_hidbus::wire::HidInfo>> && frame_ptr)
HidInfo & operator= (const HidInfo & other)

Defined at line 184 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

HidInfo & operator= (HidInfo && other)

Defined at line 186 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

void ~HidInfo ()

Defined at line 188 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

template <typename... Args>
HidInfo & set_polling_rate (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 256 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

template <typename... Args>
HidInfo & set_manufacturer_name (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 265 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

template <typename... Args>
HidInfo & set_product_name (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 274 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

template <typename... Args>
HidInfo & set_serial_number (::fidl::AnyArena & allocator, Args &&... args)

Defined at line 283 of file fidling/gen/sdk/fidl/fuchsia.hardware.hidbus/fuchsia.hardware.hidbus/cpp/fidl/fuchsia.hardware.hidbus/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder