class WaitFence

Defined at line 5334 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/wire_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 ()
void ~WaitFence ()
void WaitFence (WaitFence && other)
WaitFence & operator= (WaitFence && other)
bool has_invalid_tag ()
bool is_basic ()
WaitFence WithBasic (::zx::handle val)

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

::zx::handle & basic ()

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

const ::zx::handle & basic ()

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

bool is_timestamp ()
WaitFence WithTimestamp (::zx::counter val)

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

corresponding event will have been written into the counter.

::zx::counter & timestamp ()

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

corresponding event will have been written into the counter.

const ::zx::counter & timestamp ()

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

corresponding event will have been written into the counter.

::fuchsia_ui_composition::wire::WaitFence::Tag Which ()
void _CloseHandles ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kBasic 1

0x1

kTimestamp 2

0x2

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