class DeviceDescriptor
Defined at line 4025 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 4030 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 4031 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 4032 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 ()
Describes the mouse part of the device.
Optional. Present iff the device is/has a mouse.
::std::optional< ::fuchsia_input_report::MouseDescriptor> & mouse ()
Describes the mouse part of the device.
Optional. Present iff the device is/has a mouse.
DeviceDescriptor & mouse (std::optional< ::fuchsia_input_report::MouseDescriptor> value)
Describes the mouse part of the device.
Optional. Present iff the device is/has a mouse.
const std::optional< ::fuchsia_input_report::SensorDescriptor> & sensor ()
Describes the sensor part of the device.
Optional. Present iff the device is/has a sensor.
::std::optional< ::fuchsia_input_report::SensorDescriptor> & sensor ()
Describes the sensor part of the device.
Optional. Present iff the device is/has a sensor.
DeviceDescriptor & sensor (std::optional< ::fuchsia_input_report::SensorDescriptor> value)
Describes the sensor part of the device.
Optional. Present iff the device is/has a sensor.
const std::optional< ::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.
::std::optional< ::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.
DeviceDescriptor & touch (std::optional< ::fuchsia_input_report::TouchDescriptor> value)
Describes the touch part (such as a touchscreen or touchpad) of the
device.
Optional. Present iff the device is/has a touch device.
const std::optional< ::fuchsia_input_report::KeyboardDescriptor> & keyboard ()
Describes the keyboard part of the device.
Optional. Present iff the device is/has a keyboard.
::std::optional< ::fuchsia_input_report::KeyboardDescriptor> & keyboard ()
Describes the keyboard part of the device.
Optional. Present iff the device is/has a keyboard.
DeviceDescriptor & keyboard (std::optional< ::fuchsia_input_report::KeyboardDescriptor> value)
Describes the keyboard part of the device.
Optional. Present iff the device is/has a keyboard.
const std::optional< ::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.
::std::optional< ::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.
DeviceDescriptor & consumer_control (std::optional< ::fuchsia_input_report::ConsumerControlDescriptor> value)
Describes the consumer control part of the device.
Optional. Present iff the device is/has a consumer control device.
const std::optional< ::fuchsia_input_report::DeviceInformation> & device_information ()
Identifies the physical device.
Required.
::std::optional< ::fuchsia_input_report::DeviceInformation> & device_information ()
Identifies the physical device.
Required.
DeviceDescriptor & device_information (std::optional< ::fuchsia_input_report::DeviceInformation> value)
Identifies the physical device.
Required.
void DeviceDescriptor (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits