class DeviceDescriptor

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

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 6590 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 6594 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 6601 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 6609 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 6620 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 6624 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 6631 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 6639 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 6655 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 6663 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 6671 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 6682 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 6686 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 6693 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 6701 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 6712 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 6716 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 6723 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 6731 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 6742 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 6746 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 6753 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 6761 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)
void DeviceDescriptor ()
void DeviceDescriptor (DeviceDescriptor && other)
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 6651 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)