EntropyEngine::Core::Concurrency::GraphExecutionStartedEvent
EntropyEngine::Core::Concurrency::GraphExecutionStartedEvent
Section titled “EntropyEngine::Core::Concurrency::GraphExecutionStartedEvent”The starting gun - workflow execution begins! More…
#include <WorkGraphEvents.h>
Inherits from EntropyEngine::Core::Concurrency::WorkGraphEvent
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| GraphExecutionStartedEvent(const WorkGraph * g, size_t total, size_t roots) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| size_t | totalNodes How many nodes in the entire graph. |
| size_t | rootNodes How many have no dependencies. |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from EntropyEngine::Core::Concurrency::WorkGraphEvent
| Name | |
|---|---|
| WorkGraphEvent(const WorkGraph * g) |
Public Attributes inherited from EntropyEngine::Core::Concurrency::WorkGraphEvent
| Name | |
|---|---|
| std::chrono::steady_clock::time_point | timestamp When this event was created. |
| const WorkGraph * | graph Which graph emitted this event. |
Detailed Description
Section titled “Detailed Description”struct EntropyEngine::Core::Concurrency::GraphExecutionStartedEvent;The starting gun - workflow execution begins!
Fired when execute() is called. Gives you the big picture: how many total nodes need to run and how many root nodes (no dependencies) are kicking things off. Perfect for initializing progress tracking.
eventBus->subscribe<GraphExecutionStartedEvent>([](const auto& event) { LOG_INFO("Starting workflow with {} nodes ({} roots)", event.totalNodes, event.rootNodes); initProgressBar(event.totalNodes);});Public Functions Documentation
Section titled “Public Functions Documentation”function GraphExecutionStartedEvent
Section titled “function GraphExecutionStartedEvent”inline GraphExecutionStartedEvent( const WorkGraph * g, size_t total, size_t roots)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable totalNodes
Section titled “variable totalNodes”size_t totalNodes;How many nodes in the entire graph.
variable rootNodes
Section titled “variable rootNodes”size_t rootNodes;How many have no dependencies.
Updated on 2026-01-26 at 17:14:35 -0500