class WaitFence

Defined at line 5223 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

A fence that will be signaled when the associated resource is ready for Scenic to use.

For context-specific usage info, refer to the method the fence appears in.

Public Methods

void WaitFence (WaitFence && other)
WaitFence & operator= (WaitFence && other)
::fuchsia_ui_composition::WaitFence::Tag Which ()
WaitFence WithBasic (::zx::handle val)
const ::fidl::internal::UnionMemberView<1, Storage_> basic ()
::fidl::internal::UnionMemberView<1, Storage_> basic ()
WaitFence & basic (::zx::handle value)

A basic handle (e.g., EVENT or EVENTPAIR).

WaitFence WithTimestamp (::zx::counter val)
const ::fidl::internal::UnionMemberView<2, Storage_> timestamp ()
::fidl::internal::UnionMemberView<2, Storage_> timestamp ()
WaitFence & timestamp (::zx::counter value)

At the time the fence is signalled, the timestamp of the

corresponding event will have been written into the counter.

void WaitFence (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kBasic 1

0x1

kTimestamp 2

0x2

TODO: share union tag types between wire

&

natural.

Defined at line 5233 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits