class SignalFence

Defined at line 83 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

Session-side shape of fuchsia.ui.composition.SignalFence: a fence Scenic signals,

writing the timestamp into it first if it is a counter.

Public Methods

void SignalFence ()

Defined at line 85 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

void ~SignalFence ()

Defined at line 86 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

void SignalFence (SignalFence && )

Defined at line 87 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

SignalFence & operator= (SignalFence && )

Defined at line 88 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

void SignalFence (const SignalFence & )

Defined at line 89 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

fit::result<zx_status_t, SignalFence> From (fuchsia_ui_composition::wire::SignalFence fence)

As WaitFence::From(). The required rights differ per arm, matching what

signaling does (`utils::SignalCounterFences()`: `write()`, then `signal()`):

`basic` (EVENT): ZX_RIGHT_SIGNAL

`timestamp` (COUNTER): ZX_RIGHT_WRITE | ZX_RIGHT_SIGNAL

Defined at line 89 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.cc

SignalFence & operator= (const SignalFence & )

Defined at line 90 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.h

bool is_valid ()

Defined at line 137 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.cc

void MoveInto (std::vector<zx::event> & events, std::vector<zx::counter> & counters)

Appends the fence to the classic release leg (`PresentArgs.release_fences` /

`release_counters`), leaving this invalid.

Defined at line 147 of file ../../src/ui/scenic/lib/flatland/flatland_session_types.cc