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

Defines OperandRef and ConditionRef — standalone operand-to-pin mapping structures. More...

#include <string>
#include <vector>
#include "../TaskSystem/TaskGraphTypes.h"
#include "../third_party/nlohmann/json.hpp"
+ Include dependency graph for ConditionRef.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Olympe::OperandRef
 References one operand of a condition (left or right). More...
 
struct  Olympe::ConditionRef
 Stores the complete reference for one condition including operand-to-DynamicDataPin mapping. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Defines OperandRef and ConditionRef — standalone operand-to-pin mapping structures.

Author
Olympe Engine
Date
2026-03-18

ConditionRef is a self-contained representation of one condition expression for a Branch or While node. Unlike NodeConditionRef (which references a ConditionPreset in the global registry), ConditionRef stores the full operand data inline — enabling use cases where no registry round-trip is required (e.g. migration, serialisation helpers, runtime evaluation).

The OperandRef::dynamicPinID field provides the ConditionRef -> DynamicDataPin mapping required by Phase 24 Milestone 1: when an operand is in Pin mode the field holds the UUID of the DynamicDataPin generated by DynamicDataPinManager so the runtime can look up the live float value.

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

Definition in file ConditionRef.h.