class UberStructQueue

Defined at line 50 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<UberStruct> uber_struct, bool recompute_view_tree)

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 130 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 145 of file ../../src/ui/scenic/lib/flatland/uber_struct_system.cc