![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ECS component that drives task graph execution at runtime. More...
#include <cstdint>#include <memory>#include <string>#include <unordered_map>#include <vector>#include "../../Core/AssetManager.h"#include "../../TaskSystem/TaskGraphTypes.h"
Include dependency graph for TaskRunnerComponent.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Olympe::TaskRunnerComponent |
| Per-entity runtime state for task graph execution. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
ECS component that drives task graph execution at runtime.
TaskRunnerComponent holds the per-entity runtime state required to execute a TaskGraphTemplate. One component instance is attached to each entity that participates in the Atomic Task System.
The TaskSystem reads and updates this component every frame to advance execution through the bound task graph. activeTask stores the IAtomicTask instance currently executing so that multi-frame Running tasks can be re-ticked and cleanly Abort()ed when needed.
C++14 compliant - no C++17/20 features.
Definition in file TaskRunnerComponent.h.