Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
UndoRedoStack.h File Reference

Undo/Redo command stack for ATS Visual Scripting editor (Phase 6). More...

#include <string>
#include <vector>
#include <memory>
#include <cstddef>
#include "../TaskSystem/TaskGraphTemplate.h"
+ Include dependency graph for UndoRedoStack.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

interface  Olympe::ICommand
 Abstract base for all reversible editor commands. More...
 
class  Olympe::AddNodeCommand
 Command to add a node to the tree. More...
 
class  Olympe::DeleteNodeCommand
 Command to delete a node from the tree. More...
 
class  Olympe::MoveNodeCommand
 Command to move a node. More...
 
class  Olympe::AddConnectionCommand
 Records an "add exec connection" operation for undo/redo. More...
 
class  Olympe::AddDataConnectionCommand
 Records an "add data connection" operation for undo/redo. More...
 
class  Olympe::DeleteLinkCommand
 Records a "delete link" operation for undo/redo. More...
 
struct  Olympe::PropertyValue
 Discriminated union of property value types (String / Float). More...
 
class  Olympe::EditNodePropertyCommand
 Records a property edit on a single node for undo/redo. More...
 
class  Olympe::AddDynamicPinCommand
 Records "add dynamic exec-out pin" on a VSSequence or VSSwitch node for undo/redo. More...
 
class  Olympe::RemoveExecPinCommand
 Records "remove dynamic exec-out pin" on a VSSequence or VSSwitch node for undo/redo. More...
 
class  Olympe::EditParameterCommand
 Command to edit a node parameter. More...
 
class  Olympe::EditNodePropertiesCommand
 Records a batch edit of all parameter bindings on a node. More...
 
class  Olympe::UndoRedoStack
 Bounded stack of reversible editor commands. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Undo/Redo command stack for ATS Visual Scripting editor (Phase 6).

Author
Olympe Engine
Date
2026-03-09

Implements the Command pattern for reversible graph editing operations. Supported commands: AddNode, DeleteNode, MoveNode, AddConnection. Stack size is bounded to MAX_STACK_SIZE (100) to cap memory usage.

C++14 compliant — no std::optional, structured bindings, std::filesystem.

Definition in file UndoRedoStack.h.