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

Incoming/outgoing link cache for efficient node-graph traversal (Phase 9). More...

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

Go to the source code of this file.

Classes

class  Olympe::LinkCache
 Singleton that caches per-node incoming/outgoing ExecPinConnection lists. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Incoming/outgoing link cache for efficient node-graph traversal (Phase 9).

Author
Olympe Engine
Date
2026-03-09

LinkCache builds two hash-maps (source-node -> outgoing links, target-node -> incoming links) from a flat vector of ExecPinConnections. The cache is invalidated whenever the topology changes and lazily rebuilt on next access.

No ImGui dependency. No external dependencies beyond the standard library and TaskGraphTemplate.h.

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

Definition in file LinkCache.h.