class TouchInputReport

Defined at line 3996 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 Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputReport>> && frame_ptr)
void TouchInputReport ()

Defined at line 3998 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 4001 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.

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

Defined at line 4000 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 4002 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 4004 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 4033 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 TouchInputReport (const TouchInputReport & other)

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

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

Defined at line 4042 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