class InputReport

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

bool HasUnknownData ()

Returns whether the table references unknown fields.

::fidl::WireTableBuilder< ::fuchsia_input_report::wire::InputReport> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_input_report::wire::InputReport> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::InputReport>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::InputReport>> && frame_ptr)
void InputReport ()

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

void InputReport (const InputReport & other)

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

void InputReport (InputReport && other)

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

bool IsEmpty ()

Returns whether no field is set.

void _CloseHandles ()
int64_t & event_time ()

`event_time` is in nanoseconds when the event was recorded.

bool has_event_time ()
::fuchsia_input_report::wire::MouseInputReport & mouse ()

`mouse` is the report generated if the device contains a mouse.

bool has_mouse ()
::fuchsia_input_report::wire::SensorInputReport & sensor ()

`sensor` is the report generated if the device contains a sensor.

bool has_sensor ()
::fuchsia_input_report::wire::TouchInputReport & touch ()

`touch` is the report generated if the device contains a touch device.

bool has_touch ()
::fuchsia_input_report::wire::KeyboardInputReport & keyboard ()

`keyboard` is the report generated if the device contains a keyboard.

bool has_keyboard ()
::fuchsia_input_report::wire::ConsumerControlInputReport & consumer_control ()

`consumer_controls` is the report generated if the device contains a

ConsumerControl device.

bool has_consumer_control ()
uint64_t & trace_id ()

Unique ID to connect trace async begin/end events.

bool has_trace_id ()
uint8_t & report_id ()

The Descriptor that describes this InputReport will have a matching

ReportID. If this doesn't exist, report_id is 0.

bool has_report_id ()
::zx::eventpair & wake_lease ()

Optional wake lease for power baton passing.

bool has_wake_lease ()
InputReport & set_event_time (::fidl::ObjectView<int64_t> elem)
InputReport & set_event_time (std::nullptr_t )
InputReport & clear_event_time ()
InputReport & clear_mouse ()
InputReport & clear_sensor ()
InputReport & clear_touch ()
InputReport & clear_keyboard ()
InputReport & clear_consumer_control ()
InputReport & clear_trace_id ()
InputReport & clear_report_id ()
InputReport & clear_wake_lease ()
void InputReport (::fidl::AnyArena & allocator)
void InputReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::InputReport>> && frame)

This constructor allows a user controlled allocation (not using a Arena).

It should only be used when performance is key.

As soon as the frame is given to the table, it must not be used directly or for another table.

InputReport & operator= (const InputReport & other)

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

InputReport & operator= (InputReport && other)

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

InputReport & set_consumer_control (::fidl::ObjectView< ::fuchsia_input_report::wire::ConsumerControlInputReport> elem)
InputReport & set_consumer_control (std::nullptr_t )
void ~InputReport ()

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

template <typename... Args>
InputReport & set_event_time (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
InputReport & set_keyboard (::fidl::AnyArena & allocator, Args &&... args)

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

InputReport & set_keyboard (::fidl::ObjectView< ::fuchsia_input_report::wire::KeyboardInputReport> elem)
InputReport & set_keyboard (std::nullptr_t )
template <typename... Args>
InputReport & set_touch (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
InputReport & set_consumer_control (::fidl::AnyArena & allocator, Args &&... args)

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

InputReport & set_mouse (::fidl::ObjectView< ::fuchsia_input_report::wire::MouseInputReport> elem)
InputReport & set_mouse (std::nullptr_t )
template <typename... Args>
InputReport & set_mouse (::fidl::AnyArena & allocator, Args &&... args)

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

InputReport & set_touch (::fidl::ObjectView< ::fuchsia_input_report::wire::TouchInputReport> elem)
InputReport & set_touch (std::nullptr_t )
InputReport & set_trace_id (::fidl::ObjectView<uint64_t> elem)
InputReport & set_trace_id (std::nullptr_t )
InputReport & set_report_id (uint8_t elem)
template <typename... Args>
InputReport & set_sensor (::fidl::AnyArena & allocator, Args &&... args)

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

InputReport & set_sensor (::fidl::ObjectView< ::fuchsia_input_report::wire::SensorInputReport> elem)
InputReport & set_sensor (std::nullptr_t )
template <typename... Args>
InputReport & set_trace_id (::fidl::AnyArena & allocator, Args &&... args)

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

InputReport & set_wake_lease (::zx::eventpair elem)

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder