class GpioButtonType

Defined at line 375 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/natural_types.h

Type of button.

Public Methods

void GpioButtonType (GpioButtonType && other)
GpioButtonType & operator= (GpioButtonType && other)
void GpioButtonType (const GpioButtonType & other)
GpioButtonType & operator= (const GpioButtonType & other)
bool operator== (const GpioButtonType & other)
bool operator!= (const GpioButtonType & other)
bool IsUnknown ()
::fuchsia_buttons::GpioButtonType::Tag Which ()
GpioButtonType WithDirect (::fuchsia_buttons::DirectGpioButton val)
const ::fidl::internal::UnionMemberView<1, Storage_> direct ()
::fidl::internal::UnionMemberView<1, Storage_> direct ()
GpioButtonType & direct (::fuchsia_buttons::DirectGpioButton value)

Sets the union to hold the direct member.

GpioButtonType WithMatrix (::fuchsia_buttons::MatrixGpioButton val)
const ::fidl::internal::UnionMemberView<2, Storage_> matrix ()
::fidl::internal::UnionMemberView<2, Storage_> matrix ()
GpioButtonType & matrix (::fuchsia_buttons::MatrixGpioButton value)

Sets the union to hold the matrix member.

void GpioButtonType (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kDirect 1
kMatrix 2
_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 383 of file fidling/gen/sdk/fidl/fuchsia.buttons/fuchsia.buttons/cpp/fidl/fuchsia.buttons/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits