class ContactInputReport

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

`ContactInputReport` describes one touch on a touch device.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

ContactInputReport & set_contact_id (uint32_t _value)
ContactInputReport & set_position_x (int64_t _value)
ContactInputReport & set_position_y (int64_t _value)
ContactInputReport & set_pressure (int64_t _value)
ContactInputReport & set_contact_width (int64_t _value)
ContactInputReport & set_contact_height (int64_t _value)
ContactInputReport & set_confidence (bool _value)
void ContactInputReport ()
void ContactInputReport (ContactInputReport && other)
void ~ContactInputReport ()
ContactInputReport & operator= (ContactInputReport && other)
::std::unique_ptr<ContactInputReport> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ContactInputReport * _value, size_t _offset)
zx_status_t Clone (ContactInputReport * _result)
const uint32_t & contact_id ()

Identifier for this contact.

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

bool has_contact_id ()

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

uint32_t * mutable_contact_id ()

Identifier for this contact.

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

void clear_contact_id ()

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

const int64_t & position_x ()

A contact's position on the x axis.

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

bool has_position_x ()

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

int64_t * mutable_position_x ()

A contact's position on the x axis.

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

void clear_position_x ()

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

const int64_t & position_y ()

A contact's position on the y axis.

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

bool has_position_y ()

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

int64_t * mutable_position_y ()

A contact's position on the y axis.

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

void clear_position_y ()

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

const int64_t & pressure ()

Pressure of the contact.

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

bool has_pressure ()

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

int64_t * mutable_pressure ()

Pressure of the contact.

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

void clear_pressure ()

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

const 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`.

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

bool has_contact_width ()

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

int64_t * mutable_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`.

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

void clear_contact_width ()

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

const 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`.

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

bool has_contact_height ()

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

int64_t * mutable_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`.

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

void clear_contact_height ()

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

const 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)

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

bool has_confidence ()

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

bool * mutable_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)

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

void clear_confidence ()

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