class GpioType
Defined at line 557 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/natural_types.h
The type of gpio.
Public Methods
void GpioType (GpioType && other)
GpioType & operator= (GpioType && other)
void GpioType (const GpioType & other)
GpioType & operator= (const GpioType & other)
bool operator== (const GpioType & other)
bool operator!= (const GpioType & other)
bool IsUnknown ()
::fuchsia_buttons::GpioType::Tag Which ()
GpioType WithInterrupt (::fuchsia_buttons::InterruptGpio val)
const ::fidl::internal::UnionMemberView<1, Storage_> interrupt ()
::fidl::internal::UnionMemberView<1, Storage_> interrupt ()
GpioType & interrupt (::fuchsia_buttons::InterruptGpio value)
Sets the union to hold the interrupt member.
GpioType WithMatrixOutput (::fuchsia_buttons::MatrixOutputGpio val)
const ::fidl::internal::UnionMemberView<2, Storage_> matrix_output ()
::fidl::internal::UnionMemberView<2, Storage_> matrix_output ()
GpioType & matrix_output (::fuchsia_buttons::MatrixOutputGpio value)
Sets the union to hold the matrix_output member.
GpioType WithPoll (::fuchsia_buttons::PollGpio val)
const ::fidl::internal::UnionMemberView<3, Storage_> poll ()
::fidl::internal::UnionMemberView<3, Storage_> poll ()
GpioType & poll (::fuchsia_buttons::PollGpio value)
Sets the union to hold the poll member.
void GpioType (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kInterrupt | 1 |
| kMatrixOutput | 2 |
| kPoll | 3 |
| _do_not_handle_this__write_a_default_case_instead | ::std::numeric_limits<::fidl_union_tag_t>::max() |
TODO: share union tag types between wire
&
natural.
Defined at line 565 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits