class DeviceInformation
Defined at line 999 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.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 Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
void DeviceInformation ()
void DeviceInformation (DeviceInformation && other)
const uint32_t & vendor_id ()
Required.
Defined at line 1006 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_vendor_id ()
Defined at line 1010 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
uint32_t * mutable_vendor_id ()
Required.
Defined at line 1015 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_vendor_id ()
Defined at line 1023 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const uint32_t & product_id ()
Required.
Defined at line 1032 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_product_id ()
Defined at line 1036 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
uint32_t * mutable_product_id ()
Required.
Defined at line 1041 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_product_id ()
Defined at line 1049 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_manufacturer_name ()
Defined at line 1119 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::string * mutable_manufacturer_name ()
Human-readable name of the manufacturer. Optional.
Must be non-empty if present.
Defined at line 1125 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_manufacturer_name ()
Defined at line 1133 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::string & product_name ()
Human-readable name of the product. Optional.
Must be non-empty if present.
Defined at line 1143 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_product_name ()
Defined at line 1147 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::string * mutable_product_name ()
Human-readable name of the product. Optional.
Must be non-empty if present.
Defined at line 1153 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_product_name ()
Defined at line 1161 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::string & serial_number ()
Serial number of the device. Optional.
Must be non-empty if present.
Defined at line 1171 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_serial_number ()
Defined at line 1175 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
::std::string * mutable_serial_number ()
Serial number of the device. Optional.
Must be non-empty if present.
Defined at line 1181 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_serial_number ()
Defined at line 1189 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
DeviceInformation & set_vendor_id (uint32_t _value)
DeviceInformation & set_product_id (uint32_t _value)
DeviceInformation & set_manufacturer_name (::std::string _value)
DeviceInformation & set_product_name (::std::string _value)
DeviceInformation & set_serial_number (::std::string _value)
const uint32_t & version ()
Optional.
Defined at line 1058 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_version ()
Defined at line 1062 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
uint32_t * mutable_version ()
Optional.
Defined at line 1067 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_version ()
Defined at line 1075 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const int64_t & polling_rate ()
The time interval between each poll of the device.
Optional.
Defined at line 1086 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
bool has_polling_rate ()
Defined at line 1090 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
int64_t * mutable_polling_rate ()
The time interval between each poll of the device.
Optional.
Defined at line 1097 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
void clear_polling_rate ()
Defined at line 1105 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
const ::std::string & manufacturer_name ()
Human-readable name of the manufacturer. Optional.
Must be non-empty if present.
Defined at line 1115 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h
DeviceInformation & set_version (uint32_t _value)
DeviceInformation & set_polling_rate (int64_t _value)
void ~DeviceInformation ()
DeviceInformation & operator= (DeviceInformation && other)
::std::unique_ptr<DeviceInformation> New ()
void Encode (::fidl::Encoder *_encoder,size_t_offset,std::optional< ::fidl::HandleInformation>maybe_handle_info)
void Decode (::fidl::Decoder *_decoder,DeviceInformation *_value,size_t_offset)
zx_status_t Clone (DeviceInformation * _result)