class ContactInputReport

Defined at line 3076 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 3083 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 3087 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 3092 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 3100 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 3109 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 3113 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 3118 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 3126 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 3135 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 3139 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 3144 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 3152 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 3161 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 3165 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 3170 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 3178 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 3190 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 3194 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 3202 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 3210 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 3222 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 3226 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 3234 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 3242 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 3254 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 3258 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 3266 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 3274 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/hlcpp/fuchsia/input/report/cpp/fidl.h