template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 4639 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::SelectiveReportingFeatureReport Build ()

Build and return the table. The builder should not be used after this.

bool has_surface_switch ()
void clear_surface_switch ()

Clears the surface_switch field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & surface_switch ()

If this is true, the device will report surface contacts.

BuilderImpl & surface_switch (bool elem)

If this is true, the device will report surface contacts.

bool has_button_switch ()
void clear_button_switch ()

Clears the button_switch field.

This method should be used sparingly, such as only during tests, as it has

O(number_of_fields) complexity.

bool & button_switch ()

If this is true, the device will report button state.

BuilderImpl & button_switch (bool elem)

If this is true, the device will report button state.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_input_report::wire::SelectiveReportingFeatureReport, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_input_report::wire::SelectiveReportingFeatureReport>> && frame)

Records