class UberStructQueue

Defined at line 52 of file ../../src/ui/scenic/lib/flatland/uber_struct_system.h

An interface for UberStructSystem clients to queue UberStructs to be published into the

visible snapshot.

Public Methods

void Push (scheduling::PresentId present_id, std::unique_ptr<const UberStruct> uber_struct, bool recompute_view_tree, bool recompute_scene_state)

Queues an UberStruct for |present_id|. Each Flatland instance can queue multiple UberStructs

in the UberStructSystem by using different PresentIds. PresentIds must be increasing between

subsequent calls.

Defined at line 141 of file ../../src/ui/scenic/lib/flatland/uber_struct_system.cc

std::optional<PendingUberStruct> Pop ()

Pops a PendingUberStruct off of this Queue. If the queue is currently empty, returns

std::nullopt.

Defined at line 159 of file ../../src/ui/scenic/lib/flatland/uber_struct_system.cc