class InputReport

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

An `InputReport` is a single report that is created by an input device.

An `InputReport` can contain one of many different report types. The report

types are not mutually exclusive. The `event_time` is the time in

nanoseconds when the report was generated.

Public Methods

void InputReport (Storage_ storage)
void InputReport ()

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

void InputReport (InputReport && )

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

bool IsEmpty ()
const std::optional<int64_t> & event_time ()

The monotonic time when the event was generated.

Required.

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

The monotonic time when the event was generated.

Required.

InputReport & event_time (std::optional<int64_t> value)

The monotonic time when the event was generated.

Required.

const std::optional< ::fuchsia_input_report::MouseInputReport> & mouse ()

Optional. Present iff the device reports mouse input.

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

Optional. Present iff the device reports mouse input.

InputReport & mouse (std::optional< ::fuchsia_input_report::MouseInputReport> value)

Optional. Present iff the device reports mouse input.

InputReport & operator= (InputReport && )

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

const std::optional<uint64_t> & trace_id ()

Unique ID to connect trace async begin/end events.

Optional.

::std::optional<uint64_t> & trace_id ()

Unique ID to connect trace async begin/end events.

Optional.

InputReport & trace_id (std::optional<uint64_t> value)

Unique ID to connect trace async begin/end events.

Optional.

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

Optional. Present iff the device reports sensor input.

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

Optional. Present iff the device reports sensor input.

InputReport & sensor (std::optional< ::fuchsia_input_report::SensorInputReport> value)

Optional. Present iff the device reports sensor input.

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

Optional. Present iff the device reports touch input.

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

Optional. Present iff the device reports touch input.

InputReport & touch (std::optional< ::fuchsia_input_report::TouchInputReport> value)

Optional. Present iff the device reports touch input.

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

Optional. Present iff the device reports keyboard input.

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

Optional. Present iff the device reports keyboard input.

InputReport & keyboard (std::optional< ::fuchsia_input_report::KeyboardInputReport> value)

Optional. Present iff the device reports keyboard input.

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

Optional. Present iff the device reports consumer control input.

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

Optional. Present iff the device reports consumer control input.

InputReport & consumer_control (std::optional< ::fuchsia_input_report::ConsumerControlInputReport> value)

Optional. Present iff the device reports consumer control input.

const std::optional<uint8_t> & report_id ()

A device may have multiple input descriptors of the same type. This

field specifies which descriptor this InputReport corresponds to.

Omitted if the device has no more than one descriptor for each type.

Optional.

::std::optional<uint8_t> & report_id ()

A device may have multiple input descriptors of the same type. This

field specifies which descriptor this InputReport corresponds to.

Omitted if the device has no more than one descriptor for each type.

Optional.

InputReport & report_id (std::optional<uint8_t> value)

A device may have multiple input descriptors of the same type. This

field specifies which descriptor this InputReport corresponds to.

Omitted if the device has no more than one descriptor for each type.

Optional.

const std::optional< ::zx::eventpair> & wake_lease ()

Optional wake lease for power baton passing.

::std::optional< ::zx::eventpair> & wake_lease ()

Optional wake lease for power baton passing.

InputReport & wake_lease (std::optional< ::zx::eventpair> value)

Optional wake lease for power baton passing.

void InputReport (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits