class TouchInputReport

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

`TouchInputReport` describes the current contacts recorded by the touchscreen.

Public Methods

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

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

Return a builder that by defaults allocates of an arena.

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

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

void TouchInputReport ()

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

void TouchInputReport (const TouchInputReport & other)

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

::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputReport> & contacts ()

The contacts currently being reported by the device.

Required. Empty iff there is no active contact.

bool has_contacts ()
bool has_pressed_buttons ()
TouchInputReport & operator= (const TouchInputReport & other)

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

void TouchInputReport (TouchInputReport && other)

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

TouchInputReport & operator= (TouchInputReport && other)

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

::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton> & pressed_buttons ()
TouchInputReport & set_contacts (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputReport>> elem)
TouchInputReport & set_contacts (std::nullptr_t )
TouchInputReport & clear_contacts ()
void ~TouchInputReport ()

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

template <typename... Args>
TouchInputReport & set_contacts (::fidl::AnyArena & allocator, Args &&... args)

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

TouchInputReport & set_pressed_buttons (::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton>> elem)
TouchInputReport & set_pressed_buttons (std::nullptr_t )
TouchInputReport & clear_pressed_buttons ()
void TouchInputReport (::fidl::AnyArena & allocator)
void TouchInputReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputReport>> && 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.

void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputReport>> && frame_ptr)
template <typename... Args>
TouchInputReport & set_pressed_buttons (::fidl::AnyArena & allocator, Args &&... args)

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

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder