class DeviceInformation

Defined at line 735 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

DeviceInformation provides more information about the device and lets a

client distinguish between devices (e.g between two touchscreens that come

from different vendors). If the device is a HID device, then the id

information will come from the device itself. Other, non-HID devices may

assign the ids in the driver, so it will be the driver author's

responsibility to assign sensible ids.

Public Methods

void DeviceInformation ()

Defined at line 737 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

void DeviceInformation (const DeviceInformation & other)

Defined at line 738 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

void DeviceInformation (DeviceInformation && other)

Defined at line 740 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_input_report::wire::DeviceInformation> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::DeviceInformation> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::DeviceInformation>> frame)

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

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 ()
bool has_polling_rate ()
::fidl::StringView & manufacturer_name ()

Human-readable name of the manufacturer. Optional.

Must be non-empty if present.

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

Human-readable name of the product. Optional.

Must be non-empty if present.

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

Serial number of the device. Optional.

Must be non-empty if present.

bool has_serial_number ()
DeviceInformation & set_vendor_id (uint32_t elem)
DeviceInformation & clear_vendor_id ()
DeviceInformation & clear_serial_number ()
DeviceInformation & operator= (const DeviceInformation & other)

Defined at line 739 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

DeviceInformation & operator= (DeviceInformation && other)

Defined at line 741 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

DeviceInformation & set_product_id (uint32_t elem)
DeviceInformation & clear_product_id ()
DeviceInformation & set_version (uint32_t elem)
DeviceInformation & clear_version ()
DeviceInformation & set_polling_rate (::fidl::ObjectView<int64_t> elem)
DeviceInformation & set_polling_rate (std::nullptr_t )
DeviceInformation & clear_polling_rate ()
DeviceInformation & set_manufacturer_name (::fidl::ObjectView< ::fidl::StringView> elem)
DeviceInformation & set_manufacturer_name (std::nullptr_t )
DeviceInformation & clear_manufacturer_name ()
DeviceInformation & set_product_name (::fidl::ObjectView< ::fidl::StringView> elem)
DeviceInformation & set_product_name (std::nullptr_t )
DeviceInformation & clear_product_name ()
DeviceInformation & set_serial_number (::fidl::ObjectView< ::fidl::StringView> elem)
DeviceInformation & set_serial_number (std::nullptr_t )
void DeviceInformation (::fidl::AnyArena & allocator)
void DeviceInformation (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::DeviceInformation>> && 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_input_report::wire::DeviceInformation>> && frame_ptr)
void ~DeviceInformation ()

Defined at line 743 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

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

Defined at line 801 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

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

Defined at line 810 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

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

Defined at line 819 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

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

Defined at line 828 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder