template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 7063 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::TouchInputDescriptor Build ()
Build and return the table. The builder should not be used after this.
bool has_contacts ()
void clear_contacts ()
Clears the contacts field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputDescriptor> & contacts ()
The contact descriptors associated with this touch descriptor.
BuilderImpl & contacts (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::ContactInputDescriptor>>> elem)
The contact descriptors associated with this touch descriptor.
bool has_max_contacts ()
void clear_max_contacts ()
Clears the max_contacts field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & max_contacts ()
The max number of contacts that this touch device can report at once.
BuilderImpl & max_contacts (uint32_t elem)
The max number of contacts that this touch device can report at once.
bool has_touch_type ()
void clear_touch_type ()
Clears the touch_type field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_input_report::wire::TouchType & touch_type ()
The type of touch device being used.
BuilderImpl & touch_type (::fuchsia_input_report::wire::TouchType elem)
The type of touch device being used.
bool has_buttons ()
void clear_buttons ()
Clears the buttons field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton> & buttons ()
Getter for buttons.
BuilderImpl & buttons (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_input_report::wire::TouchButton>>> elem)
Setter for buttons.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_input_report::wire::TouchInputDescriptor, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::TouchInputDescriptor>> && frame)