SILICON
Loading...
Searching...
No Matches
SceneLoadPlan Class Reference

Scene payload deserialized ahead of time, detached from the host scene. More...

Collaboration diagram for SceneLoadPlan:

Public Attributes

GUIComponentFactory * factory = nullptr
 Factory that built the detached graphical items.
bool hasCircuitPart = false
 True when the payload carries logical simulation properties.
bool hasVisualPart = false
 True when the payload carries a stored drawing.
std::shared_ptr< Circuit > circuit
 Authoritative circuit the drawing was deserialized against.
std::vector< std::unique_ptr< GraphicalComponent > > components
 Detached graphical components, not yet owned by any scene.
std::vector< PendingWireSegment > wires
 Parsed wire geometry, grouped by their serialized wire identity.

Detailed Description

Scene payload deserialized ahead of time, detached from the host scene.

Built by DiagramSceneSerializer::prepareDeserialize() and consumed by applyDeserialize(), so an invalid payload never reaches the live drawing.

Definition at line 336 of file diagramSceneSerializer.cpp.

Member Data Documentation

◆ circuit

std::shared_ptr<Circuit> circuit

Authoritative circuit the drawing was deserialized against.

Definition at line 345 of file diagramSceneSerializer.cpp.

◆ components

std::vector<std::unique_ptr<GraphicalComponent> > components

Detached graphical components, not yet owned by any scene.

Definition at line 347 of file diagramSceneSerializer.cpp.

◆ factory

Factory that built the detached graphical items.

Definition at line 339 of file diagramSceneSerializer.cpp.

◆ hasCircuitPart

bool hasCircuitPart = false

True when the payload carries logical simulation properties.

Definition at line 341 of file diagramSceneSerializer.cpp.

◆ hasVisualPart

bool hasVisualPart = false

True when the payload carries a stored drawing.

Definition at line 343 of file diagramSceneSerializer.cpp.

◆ wires

std::vector<PendingWireSegment> wires

Parsed wire geometry, grouped by their serialized wire identity.

Definition at line 349 of file diagramSceneSerializer.cpp.


The documentation for this class was generated from the following file: