class DeviceInformation
Defined at line 273 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/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).
Public Methods
void DeviceInformation ()
Defined at line 275 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
void DeviceInformation (const DeviceInformation & other)
Defined at line 276 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_ui_input::wire::DeviceInformation> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_ui_input::wire::DeviceInformation> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_input::wire::DeviceInformation>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
bool has_vendor_id ()
bool has_serial_number ()
DeviceInformation & operator= (const DeviceInformation & other)
Defined at line 277 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
void DeviceInformation (DeviceInformation && other)
Defined at line 278 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
DeviceInformation & operator= (DeviceInformation && other)
Defined at line 279 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
uint32_t & vendor_id ()
Required.
uint32_t & product_id ()
Required.
bool has_product_id ()
uint32_t & version ()
Optional.
bool has_version ()
int64_t & polling_rate ()
The time interval between each poll of the device.
Optional.
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.
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 ()
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 )
DeviceInformation & clear_serial_number ()
void DeviceInformation (::fidl::AnyArena & allocator)
void DeviceInformation (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_ui_input::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_ui_input::wire::DeviceInformation>> && frame_ptr)
void ~DeviceInformation ()
Defined at line 281 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder