class ContactInputReport

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

`ContactInputReport` describes one touch on a touch device.

Public Methods

void ContactInputReport ()

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

void ContactInputReport (const ContactInputReport & other)

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

void ContactInputReport (ContactInputReport && other)

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

bool HasUnknownData ()

Returns whether the table references unknown fields.

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

Return a builder that by defaults allocates of an arena.

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

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

uint32_t & contact_id ()

Identifier for this contact.

bool has_contact_id ()
int64_t & position_x ()

A contact's position on the x axis.

bool has_position_x ()
ContactInputReport & operator= (const ContactInputReport & other)

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

ContactInputReport & operator= (ContactInputReport && other)

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

int64_t & position_y ()

A contact's position on the y axis.

bool has_position_y ()
int64_t & pressure ()

Pressure of the contact.

bool has_pressure ()
int64_t & contact_width ()

Width of the bounding box around the touch contact. Combined with

`contact_height`, this describes the area of the touch contact.

`contact_width` and `contact_height` should both have units of distance,

and they should be in the same units as `position_x` and `position_y`.

bool has_contact_width ()
int64_t & contact_height ()

Height of the bounding box around the touch contact. Combined with

`contact_width`, this describes the area of the touch contact.

`contact_width` and `contact_height` should both have units of distance,

and they should be in the same units as `position_x` and `position_y`.

bool has_contact_height ()
bool & confidence ()

Also known as touch valid. Indicates the device’s confidence that the touch

contact was an intended, valid contact. The device should report 0 if the

contact is not a valid touch. The device should report 1 if the contact is

intended and valid (e.g. a pointing touch)

bool has_confidence ()
template <typename... Args>
ContactInputReport & set_contact_height (::fidl::AnyArena & allocator, Args &&... args)

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

ContactInputReport & set_contact_id (uint32_t elem)
ContactInputReport & clear_contact_id ()
template <typename... Args>
ContactInputReport & set_contact_width (::fidl::AnyArena & allocator, Args &&... args)

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

ContactInputReport & set_position_x (::fidl::ObjectView<int64_t> elem)
ContactInputReport & set_position_x (std::nullptr_t )
ContactInputReport & clear_position_x ()
ContactInputReport & set_position_y (::fidl::ObjectView<int64_t> elem)
ContactInputReport & set_position_y (std::nullptr_t )
ContactInputReport & clear_position_y ()
ContactInputReport & set_pressure (::fidl::ObjectView<int64_t> elem)
ContactInputReport & set_pressure (std::nullptr_t )
ContactInputReport & clear_pressure ()
ContactInputReport & set_contact_width (::fidl::ObjectView<int64_t> elem)
ContactInputReport & set_contact_width (std::nullptr_t )
ContactInputReport & clear_contact_width ()
ContactInputReport & set_contact_height (::fidl::ObjectView<int64_t> elem)
ContactInputReport & set_contact_height (std::nullptr_t )
ContactInputReport & clear_contact_height ()
ContactInputReport & set_confidence (bool elem)
ContactInputReport & clear_confidence ()
void ContactInputReport (::fidl::AnyArena & allocator)
void ContactInputReport (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::ContactInputReport>> && 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::ContactInputReport>> && frame_ptr)
void ~ContactInputReport ()

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

template <typename... Args>
ContactInputReport & set_position_x (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
ContactInputReport & set_position_y (::fidl::AnyArena & allocator, Args &&... args)

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

template <typename... Args>
ContactInputReport & set_pressure (::fidl::AnyArena & allocator, Args &&... args)

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