template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 164 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
Public Methods
::fuchsia_buttons::wire::AdcButtonConfig Build ()
Build and return the table. The builder should not be used after this.
bool has_channel_idx ()
void clear_channel_idx ()
Clears the channel_idx field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & channel_idx ()
ADC Channel Index to read button value on.
BuilderImpl & channel_idx (uint32_t elem)
ADC Channel Index to read button value on.
bool has_release_threshold ()
void clear_release_threshold ()
Clears the release_threshold field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & release_threshold ()
If press_threshold
<
= value
<
= release_threshold, button is pressed. Otherwise, not pressed.
BuilderImpl & release_threshold (uint32_t elem)
If press_threshold
<
= value
<
= release_threshold, button is pressed. Otherwise, not pressed.
bool has_press_threshold ()
void clear_press_threshold ()
Clears the press_threshold field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & press_threshold ()
Getter for press_threshold.
BuilderImpl & press_threshold (uint32_t elem)
Setter for press_threshold.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_buttons::wire::AdcButtonConfig, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::AdcButtonConfig>> && frame)