template <typename BuilderImpl>

class WireTableBaseBuilder

Defined at line 1542 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h

Public Methods

::fuchsia_buttons::wire::GpioButtonConfig Build ()

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

bool has_type ()
void clear_type ()

Clears the type field.

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

O(number_of_fields) complexity.

::fuchsia_buttons::wire::GpioButtonType & type ()

Getter for type.

BuilderImpl & type (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_buttons::wire::GpioButtonType>> elem)

Setter for type.

bool has_gpio_a_index ()
void clear_gpio_a_index ()

Clears the gpio_a_index field.

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

O(number_of_fields) complexity.

uint8_t & gpio_a_index ()

Index of gpio A used.

BuilderImpl & gpio_a_index (uint8_t elem)

Index of gpio A used.

bool has_gpio_delay ()
void clear_gpio_delay ()

Clears the gpio_delay field.

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

O(number_of_fields) complexity.

int64_t & gpio_delay ()

For settling during matrix scan.

BuilderImpl & gpio_delay (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)

For settling during matrix scan.

bool has_id ()
void clear_id ()

Clears the id field.

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

O(number_of_fields) complexity.

::fuchsia_buttons::wire::GpioButtonId & id ()

ID of the button.

BuilderImpl & id (::fuchsia_buttons::wire::GpioButtonId elem)

ID of the button.

Protected Methods

void WireTableBaseBuilder< ::fuchsia_buttons::wire::GpioButtonConfig, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::GpioButtonConfig>> && frame)

Records