class InputReport
Defined at line 1684 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 1689 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 1690 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 ()
`event_time` is in nanoseconds when the event was recorded.
::std::optional<int64_t> & event_time ()
`event_time` is in nanoseconds when the event was recorded.
InputReport & event_time (std::optional<int64_t> value)
`event_time` is in nanoseconds when the event was recorded.
const std::optional< ::fuchsia_input_report::MouseInputReport> & mouse ()
`mouse` is the report generated if the device contains a mouse.
::std::optional< ::fuchsia_input_report::MouseInputReport> & mouse ()
`mouse` is the report generated if the device contains a mouse.
InputReport & mouse (std::optional< ::fuchsia_input_report::MouseInputReport> value)
`mouse` is the report generated if the device contains a mouse.
InputReport & operator= (InputReport && )
Defined at line 1691 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/natural_types.h
const std::optional< ::fuchsia_input_report::SensorInputReport> & sensor ()
`sensor` is the report generated if the device contains a sensor.
::std::optional< ::fuchsia_input_report::SensorInputReport> & sensor ()
`sensor` is the report generated if the device contains a sensor.
InputReport & sensor (std::optional< ::fuchsia_input_report::SensorInputReport> value)
`sensor` is the report generated if the device contains a sensor.
const std::optional< ::fuchsia_input_report::TouchInputReport> & touch ()
`touch` is the report generated if the device contains a touch device.
::std::optional< ::fuchsia_input_report::TouchInputReport> & touch ()
`touch` is the report generated if the device contains a touch device.
InputReport & touch (std::optional< ::fuchsia_input_report::TouchInputReport> value)
`touch` is the report generated if the device contains a touch device.
const std::optional< ::fuchsia_input_report::KeyboardInputReport> & keyboard ()
`keyboard` is the report generated if the device contains a keyboard.
::std::optional< ::fuchsia_input_report::KeyboardInputReport> & keyboard ()
`keyboard` is the report generated if the device contains a keyboard.
InputReport & keyboard (std::optional< ::fuchsia_input_report::KeyboardInputReport> value)
`keyboard` is the report generated if the device contains a keyboard.
const std::optional< ::fuchsia_input_report::ConsumerControlInputReport> & consumer_control ()
`consumer_controls` is the report generated if the device contains a
ConsumerControl device.
::std::optional< ::fuchsia_input_report::ConsumerControlInputReport> & consumer_control ()
`consumer_controls` is the report generated if the device contains a
ConsumerControl device.
InputReport & consumer_control (std::optional< ::fuchsia_input_report::ConsumerControlInputReport> value)
`consumer_controls` is the report generated if the device contains a
ConsumerControl device.
const std::optional<uint64_t> & trace_id ()
Unique ID to connect trace async begin/end events.
::std::optional<uint64_t> & trace_id ()
Unique ID to connect trace async begin/end events.
InputReport & trace_id (std::optional<uint64_t> value)
Unique ID to connect trace async begin/end events.
const std::optional<uint8_t> & report_id ()
The Descriptor that describes this InputReport will have a matching
ReportID. If this doesn't exist, report_id is 0.
::std::optional<uint8_t> & report_id ()
The Descriptor that describes this InputReport will have a matching
ReportID. If this doesn't exist, report_id is 0.
InputReport & report_id (std::optional<uint8_t> value)
The Descriptor that describes this InputReport will have a matching
ReportID. If this doesn't exist, report_id is 0.
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