class WaitFence

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

Session-side shape of fuchsia.ui.composition.WaitFence: a fence Scenic waits on.

Public Methods

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

Validates `fence`'s object type and rights (ZX_INFO_HANDLE_BASIC) and takes ownership of the

handle. Errors:

ZX_ERR_BAD_HANDLE `fence` carries an invalid handle

ZX_ERR_WRONG_TYPE `basic` is not an EVENT or EVENTPAIR, or `timestamp` not a COUNTER

ZX_ERR_ACCESS_DENIED a required right is missing: ZX_RIGHT_WAIT

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

void WaitFence ()

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

void ~WaitFence ()

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

void WaitFence (WaitFence && )

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

WaitFence & operator= (WaitFence && )

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

void WaitFence (const WaitFence & )

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

WaitFence & operator= (const WaitFence & )

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

bool is_valid ()

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

zx::handle TakeHandle ()

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