|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
CommandQueue is the per-frame queued-command seam described in Editor Architecture. It accumulates canvas, tool, application, and full-document-replacement commands on the UI thread and coalesces them at flush time. Incremental source-pane edits use AsyncSVGDocument::applySourceEdit() instead of this queue. More...
Classes | |
| class | donner::editor::CommandQueue |
| struct | donner::editor::CommandQueue::FlushResult |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
CommandQueue is the per-frame queued-command seam described in Editor Architecture. It accumulates canvas, tool, application, and full-document-replacement commands on the UI thread and coalesces them at flush time. Incremental source-pane edits use AsyncSVGDocument::applySourceEdit() instead of this queue.
Coalescing rules (applied in flush()):
The queue is UI-thread-only. The render thread reads the shared live document under ConcurrentDom access guards, never through this queue.
| struct donner::editor::CommandQueue::FlushResult |
| Class Members | ||
|---|---|---|
| vector< EditorCommand > | effectiveCommands | |
| bool | hadReplaceDocument = false | True when any ReplaceDocument was drained from the raw pending batch. |
| bool | preserveUndoOnReparse = false | True only when the drained batch contained at least one ReplaceDocument and every drained ReplaceDocument carried the preserve-undo marker. |