class Object

Defined at line 591 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/natural_types.h

Public Methods

void Object (Object && other)
Object & operator= (Object && other)
bool IsUnknown ()
::fuchsia_gpu_magma::Object::Tag Which ()
Object WithSemaphore (::zx::event val)
const ::fidl::internal::UnionMemberView<1, Storage_> semaphore ()
::fidl::internal::UnionMemberView<1, Storage_> semaphore ()
Object & semaphore (::zx::event value)

Sets the union to hold the semaphore member.

Object WithBuffer (::zx::vmo val)
const ::fidl::internal::UnionMemberView<2, Storage_> buffer ()
::fidl::internal::UnionMemberView<2, Storage_> buffer ()
Object & buffer (::zx::vmo value)

Sets the union to hold the buffer member.

Object WithVmoSemaphore (::zx::vmo val)
const ::fidl::internal::UnionMemberView<3, Storage_> vmo_semaphore ()
::fidl::internal::UnionMemberView<3, Storage_> vmo_semaphore ()
Object & vmo_semaphore (::zx::vmo value)

Sets the union to hold the vmo_semaphore member.

Object WithCounterSemaphore (::zx::counter val)
const ::fidl::internal::UnionMemberView<4, Storage_> counter_semaphore ()
::fidl::internal::UnionMemberView<4, Storage_> counter_semaphore ()
Object & counter_semaphore (::zx::counter value)

Sets the union to hold the counter_semaphore member.

void Object (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kSemaphore 1
kBuffer 2
kVmoSemaphore 3
kCounterSemaphore 4
_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 603 of file fidling/gen/sdk/fidl/fuchsia.gpu.magma/fuchsia.gpu.magma/cpp/fidl/fuchsia.gpu.magma/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits