class DeviceInformation

Defined at line 299 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_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 (Storage_ storage)
void DeviceInformation ()

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

void DeviceInformation (DeviceInformation && )

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

void DeviceInformation (const DeviceInformation & other)
DeviceInformation & operator= (DeviceInformation && )

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

DeviceInformation & operator= (const DeviceInformation & other)
bool operator== (const DeviceInformation & other)
bool operator!= (const DeviceInformation & other)
bool IsEmpty ()
const std::optional<uint32_t> & vendor_id ()

Required.

::std::optional<uint32_t> & vendor_id ()

Required.

DeviceInformation & vendor_id (std::optional<uint32_t> value)

Required.

const std::optional<uint32_t> & product_id ()

Required.

::std::optional<uint32_t> & product_id ()

Required.

DeviceInformation & product_id (std::optional<uint32_t> value)

Required.

const std::optional<uint32_t> & version ()

Optional.

::std::optional<uint32_t> & version ()

Optional.

DeviceInformation & version (std::optional<uint32_t> value)

Optional.

const std::optional<int64_t> & polling_rate ()

The time interval between each poll of the device.

Optional.

::std::optional<int64_t> & polling_rate ()

The time interval between each poll of the device.

Optional.

DeviceInformation & polling_rate (std::optional<int64_t> value)

The time interval between each poll of the device.

Optional.

const std::optional< ::std::string> & manufacturer_name ()

Human-readable name of the manufacturer. Optional.

Must be non-empty if present.

::std::optional< ::std::string> & manufacturer_name ()

Human-readable name of the manufacturer. Optional.

Must be non-empty if present.

DeviceInformation & manufacturer_name (std::optional< ::std::string> value)

Human-readable name of the manufacturer. Optional.

Must be non-empty if present.

const std::optional< ::std::string> & product_name ()

Human-readable name of the product. Optional.

Must be non-empty if present.

::std::optional< ::std::string> & product_name ()

Human-readable name of the product. Optional.

Must be non-empty if present.

DeviceInformation & product_name (std::optional< ::std::string> value)

Human-readable name of the product. Optional.

Must be non-empty if present.

const std::optional< ::std::string> & serial_number ()

Serial number of the device. Optional.

Must be non-empty if present.

::std::optional< ::std::string> & serial_number ()

Serial number of the device. Optional.

Must be non-empty if present.

DeviceInformation & serial_number (std::optional< ::std::string> value)

Serial number of the device. Optional.

Must be non-empty if present.

void DeviceInformation (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits