class DeviceDescriptor

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

`DeviceDescriptor` describes a physical input device. Some physical devices may

send multiple types of reports (E.g: a physical touchscreen can send touch and

stylus reports, so it will have both a TouchDescriptor and a StylusDescriptor).

Public Methods

void DeviceDescriptor (Storage_ storage)
void DeviceDescriptor ()

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

void DeviceDescriptor (DeviceDescriptor && )

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

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

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

DeviceDescriptor & operator= (const DeviceDescriptor & other)
bool operator== (const DeviceDescriptor & other)
bool operator!= (const DeviceDescriptor & other)
bool IsEmpty ()
const std::optional< ::fuchsia_input_report::MouseDescriptor> & mouse ()

When `mouse` is present the device has a mouse.

::std::optional< ::fuchsia_input_report::MouseDescriptor> & mouse ()

When `mouse` is present the device has a mouse.

DeviceDescriptor & mouse (std::optional< ::fuchsia_input_report::MouseDescriptor> value)

When `mouse` is present the device has a mouse.

const std::optional< ::fuchsia_input_report::SensorDescriptor> & sensor ()

When `sensor` is present the device has a sensor.

::std::optional< ::fuchsia_input_report::SensorDescriptor> & sensor ()

When `sensor` is present the device has a sensor.

DeviceDescriptor & sensor (std::optional< ::fuchsia_input_report::SensorDescriptor> value)

When `sensor` is present the device has a sensor.

const std::optional< ::fuchsia_input_report::TouchDescriptor> & touch ()

When `touch` is present the device has a touch device.

(E.g: Touchscreen, touchpad).

::std::optional< ::fuchsia_input_report::TouchDescriptor> & touch ()

When `touch` is present the device has a touch device.

(E.g: Touchscreen, touchpad).

DeviceDescriptor & touch (std::optional< ::fuchsia_input_report::TouchDescriptor> value)

When `touch` is present the device has a touch device.

(E.g: Touchscreen, touchpad).

const std::optional< ::fuchsia_input_report::KeyboardDescriptor> & keyboard ()

When `keyboard` is present the device has a keyboard.

::std::optional< ::fuchsia_input_report::KeyboardDescriptor> & keyboard ()

When `keyboard` is present the device has a keyboard.

DeviceDescriptor & keyboard (std::optional< ::fuchsia_input_report::KeyboardDescriptor> value)

When `keyboard` is present the device has a keyboard.

const std::optional< ::fuchsia_input_report::ConsumerControlDescriptor> & consumer_control ()

When `consumer_control` is present the device has a ConsumerControl

device.

::std::optional< ::fuchsia_input_report::ConsumerControlDescriptor> & consumer_control ()

When `consumer_control` is present the device has a ConsumerControl

device.

DeviceDescriptor & consumer_control (std::optional< ::fuchsia_input_report::ConsumerControlDescriptor> value)

When `consumer_control` is present the device has a ConsumerControl

device.

const std::optional< ::fuchsia_input_report::DeviceInformation> & device_information ()

`device_information` should always be present to help distinguish

between physical devices.

::std::optional< ::fuchsia_input_report::DeviceInformation> & device_information ()

`device_information` should always be present to help distinguish

between physical devices.

DeviceDescriptor & device_information (std::optional< ::fuchsia_input_report::DeviceInformation> value)

`device_information` should always be present to help distinguish

between physical devices.

void DeviceDescriptor (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits