![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ECS system that iterates TaskRunnerComponent entities and drives ATS Visual Script graph execution each frame. More...
#include "../ECS_Systems.h"#include "../ECS/Components/TaskRunnerComponent.h"#include "TaskGraphTemplate.h"#include "../Core/AssetManager.h"#include "LocalBlackboard.h"#include "VSGraphExecutor.h"
Include dependency graph for TaskSystem.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::TaskSystem |
| ECS system responsible for advancing task graph execution each frame. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Typedefs | |
| using | Olympe::TaskEditorPublishFn = void(*)(EntityID entity, int nodeIndex, const LocalBlackboard *bb) |
| Signature of the editor publish callback. | |
ECS system that iterates TaskRunnerComponent entities and drives ATS Visual Script graph execution each frame.
TaskSystem inherits from ECS_System and is registered in the World alongside all other runtime systems. Each frame, Process() iterates the set of entities that own a TaskRunnerComponent, retrieves the bound TaskGraphTemplate via AssetManager, and delegates to ExecuteVSFrame() to advance Visual Script graph execution.
ExecuteNode() implements the following lifecycle for AtomicTask nodes:
C++14 compliant - no C++17/20 features.
Definition in file TaskSystem.h.