class AdcButtonConfig
Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
Analog-to-Digital Converter Buttons
Public Methods
void AdcButtonConfig ()
Defined at line 99 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
void AdcButtonConfig (const AdcButtonConfig & other)
Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
void AdcButtonConfig (AdcButtonConfig && other)
Defined at line 102 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_buttons::wire::AdcButtonConfig> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_buttons::wire::AdcButtonConfig> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::AdcButtonConfig>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
uint32_t & channel_idx ()
ADC Channel Index to read button value on.
bool has_channel_idx ()
uint32_t & release_threshold ()
If press_threshold
<
= value
<
= release_threshold, button is pressed. Otherwise, not pressed.
bool has_release_threshold ()
AdcButtonConfig & operator= (const AdcButtonConfig & other)
Defined at line 101 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
AdcButtonConfig & operator= (AdcButtonConfig && other)
Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
uint32_t & press_threshold ()
bool has_press_threshold ()
AdcButtonConfig & set_channel_idx (uint32_t elem)
AdcButtonConfig & clear_channel_idx ()
AdcButtonConfig & set_release_threshold (uint32_t elem)
AdcButtonConfig & clear_release_threshold ()
AdcButtonConfig & set_press_threshold (uint32_t elem)
AdcButtonConfig & clear_press_threshold ()
void AdcButtonConfig (::fidl::AnyArena & allocator)
void AdcButtonConfig (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::AdcButtonConfig>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_buttons::wire::AdcButtonConfig>> && frame_ptr)
void ~AdcButtonConfig ()
Defined at line 105 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder