class DeviceInformation

Defined at line 1191 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.

DeviceInformation & set_vendor_id (uint32_t _value)
DeviceInformation & set_product_id (uint32_t _value)
DeviceInformation & set_version (uint32_t _value)
DeviceInformation & set_polling_rate (int64_t _value)
DeviceInformation & set_manufacturer_name (::std::string _value)
DeviceInformation & set_product_name (::std::string _value)
DeviceInformation & set_serial_number (::std::string _value)
void DeviceInformation ()
void DeviceInformation (DeviceInformation && other)
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)
const uint32_t & vendor_id ()

Defined at line 1197 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 1201 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

uint32_t * mutable_vendor_id ()

Defined at line 1205 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 1213 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const uint32_t & product_id ()

Defined at line 1221 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 1225 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

uint32_t * mutable_product_id ()

Defined at line 1229 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 1237 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const uint32_t & version ()

Defined at line 1245 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 1249 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

uint32_t * mutable_version ()

Defined at line 1253 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 1261 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

const int64_t & polling_rate ()

Defined at line 1269 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 1273 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h

int64_t * mutable_polling_rate ()

Defined at line 1277 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 1285 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 1295 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 1299 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 1305 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 1313 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 1323 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 1327 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 1333 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 1341 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 1351 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 1355 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 1361 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 1369 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h