class DeviceDescriptor

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

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

void DeviceDescriptor ()
void DeviceDescriptor (DeviceDescriptor && other)
const ::fuchsia::input::report::MouseDescriptor & mouse ()

Describes the mouse part of the device.

Optional. Present iff the device is/has a mouse.

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

bool has_mouse ()

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

::fuchsia::input::report::MouseDescriptor * mutable_mouse ()

Describes the mouse part of the device.

Optional. Present iff the device is/has a mouse.

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

void clear_mouse ()

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

const ::fuchsia::input::report::SensorDescriptor & sensor ()

Describes the sensor part of the device.

Optional. Present iff the device is/has a sensor.

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

bool has_sensor ()

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

::fuchsia::input::report::SensorDescriptor * mutable_sensor ()

Describes the sensor part of the device.

Optional. Present iff the device is/has a sensor.

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

void clear_sensor ()

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

void clear_touch ()

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

const ::fuchsia::input::report::KeyboardDescriptor & keyboard ()

Describes the keyboard part of the device.

Optional. Present iff the device is/has a keyboard.

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

bool has_keyboard ()

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

::fuchsia::input::report::KeyboardDescriptor * mutable_keyboard ()

Describes the keyboard part of the device.

Optional. Present iff the device is/has a keyboard.

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

void clear_keyboard ()

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

const ::fuchsia::input::report::ConsumerControlDescriptor & consumer_control ()

Describes the consumer control part of the device.

Optional. Present iff the device is/has a consumer control device.

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

bool has_consumer_control ()

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

::fuchsia::input::report::ConsumerControlDescriptor * mutable_consumer_control ()

Describes the consumer control part of the device.

Optional. Present iff the device is/has a consumer control device.

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

void clear_consumer_control ()

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

const ::fuchsia::input::report::DeviceInformation & device_information ()

Identifies the physical device.

Required.

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

bool has_device_information ()

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

::fuchsia::input::report::DeviceInformation * mutable_device_information ()

Identifies the physical device.

Required.

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

void clear_device_information ()

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

DeviceDescriptor & set_mouse (::fuchsia::input::report::MouseDescriptor _value)
DeviceDescriptor & set_sensor (::fuchsia::input::report::SensorDescriptor _value)
DeviceDescriptor & set_touch (::fuchsia::input::report::TouchDescriptor _value)
DeviceDescriptor & set_keyboard (::fuchsia::input::report::KeyboardDescriptor _value)
DeviceDescriptor & set_consumer_control (::fuchsia::input::report::ConsumerControlDescriptor _value)
DeviceDescriptor & set_device_information (::fuchsia::input::report::DeviceInformation _value)
const ::fuchsia::input::report::TouchDescriptor & touch ()

Describes the touch part (such as a touchscreen or touchpad) of the

device.

Optional. Present iff the device is/has a touch device.

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

bool has_touch ()

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

::fuchsia::input::report::TouchDescriptor * mutable_touch ()

Describes the touch part (such as a touchscreen or touchpad) of the

device.

Optional. Present iff the device is/has a touch device.

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

void ~DeviceDescriptor ()
DeviceDescriptor & operator= (DeviceDescriptor && other)
::std::unique_ptr<DeviceDescriptor> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DeviceDescriptor * _value, size_t _offset)
zx_status_t Clone (DeviceDescriptor * _result)