class DeviceInformation
Defined at line 732 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 734 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 735 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
bool has_version ()
DeviceInformation & operator= (const DeviceInformation & other)
Defined at line 736 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 737 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.
DeviceInformation & operator= (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
uint32_t & vendor_id ()
bool has_vendor_id ()
uint32_t & product_id ()
bool has_product_id ()
uint32_t & version ()
int64_t & polling_rate ()
bool has_polling_rate ()
DeviceInformation & set_vendor_id (uint32_t elem)
DeviceInformation & clear_vendor_id ()
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 ()
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 740 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 783 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