template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 3544 of file fidling/gen/sdk/fidl/fuchsia.input.report/fuchsia.input.report/cpp/fidl/fuchsia.input.report/cpp/wire_types.h
Public Methods
::fuchsia_input_report::wire::ContactInputReport Build ()
Build and return the table. The builder should not be used after this.
bool has_contact_id ()
void clear_contact_id ()
Clears the contact_id field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & contact_id ()
Identifier for this contact.
BuilderImpl & contact_id (uint32_t elem)
Identifier for this contact.
bool has_position_x ()
void clear_position_x ()
Clears the position_x field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & position_x ()
A contact's position on the x axis.
BuilderImpl & position_x (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
A contact's position on the x axis.
bool has_position_y ()
void clear_position_y ()
Clears the position_y field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & position_y ()
A contact's position on the y axis.
BuilderImpl & position_y (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
A contact's position on the y axis.
bool has_pressure ()
void clear_pressure ()
Clears the pressure field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
int64_t & pressure ()
Pressure of the contact.
BuilderImpl & pressure (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
Pressure of the contact.
bool has_contact_width ()
void clear_contact_width ()
Clears the contact_width field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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`.
BuilderImpl & contact_width (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
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_height ()
void clear_contact_height ()
Clears the contact_height field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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`.
BuilderImpl & contact_height (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
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_confidence ()
void clear_confidence ()
Clears the confidence field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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)
BuilderImpl & confidence (bool elem)
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)
Protected Methods
void WireTableBaseBuilder< ::fuchsia_input_report::wire::ContactInputReport, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::ContactInputReport>> && frame)