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

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
 

Detailed Description

ECS component that drives task graph execution at runtime.

Author
Olympe Engine
Date
2026-02-22

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.