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

Runtime bridge: routes live TaskRunner state to the Editor UI. More...

#include "LocalBlackboard.h"
#include "../ECS_Entity.h"
+ Include dependency graph for TaskExecutionBridge.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Olympe::TaskExecutionBridge
 Mediator that publishes per-frame task-runner state to the Editor. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Typedefs

using Olympe::BridgeSetNodeFn = void(*)(int nodeIndex)
 Callback type: receives the local node index being executed.
 
using Olympe::BridgeSetBBFn = void(*)(const LocalBlackboard *bb)
 Callback type: receives a non-owning pointer to the frame blackboard.
 

Detailed Description

Runtime bridge: routes live TaskRunner state to the Editor UI.

Author
Olympe Engine
Date
2026-02-25

TaskExecutionBridge is a lightweight mediator between the TaskSystem and the Editor layer. It registers a callback with TaskSystem::SetEditorPublishCallback and forwards the published runner state to Editor-side hooks (function pointers) that have been registered by the Editor at startup.

Design goals

Usage (Editor startup)

// In WorldBridge or Editor initialization code:
TaskExecutionBridge::Install(
&NodeGraphPanel::SetActiveDebugNode, // BridgeSetNodeFn
&InspectorPanel::SetDebugBlackboardRaw // BridgeSetBBFn
);

Usage (Editor shutdown)

TaskExecutionBridge::Uninstall();

C++14 compliant - no C++17/20 features.

Definition in file TaskExecutionBridge.h.