class LayerHandle

Defined at line 29 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

A globally scoped layer handle which is used to refer to `LayerObject` within the Flatland

session implementation, as well as `UberStructLayer` within `UberStruct`; the latter is used to

create the flattened list of `ResolvedLayer` that is displayed each frame.

TODO(https://fxbug.dev/523371761): update docs when LayerObject and UberStructLayer have been

unified in step 135.

TODO(https://fxbug.dev/523371761): TransformHandle/LayerHandle should maybe both be structs, not

classes. And what's up with UberStruct being a struct not a class?

Public Methods

void LayerHandle ()

Defined at line 33 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

void LayerHandle (InstanceId instance_id, uint64_t layer_id)

Defined at line 34 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

void LayerHandle (const LayerHandle & other)

Allow copy and move ctors.

Defined at line 38 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

LayerHandle & operator= (const LayerHandle & other)

Defined at line 39 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

void LayerHandle (LayerHandle && other)

Defined at line 40 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

LayerHandle & operator= (LayerHandle && other)

Defined at line 41 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

std::strong_ordering operator<=> (const LayerHandle & )

Default "Spaceship operator" generates all six comparison operators (==, !=,

<

,

<

=, >, >=)

by comparing each field in the order declared.

Defined at line 45 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

InstanceId GetInstanceId ()

Defined at line 47 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

uint64_t GetLayerId ()

Defined at line 48 of file ../../src/ui/scenic/lib/flatland/flatland2_state.h

Friends

std::ostream & LayerHandle (std::ostream & out, const flatland::LayerHandle & h)
class hash