Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Simulation Task manager
| Name | FDataflowTaskManager |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowSimulationGenerator.h |
| Include Path | #include "Dataflow/DataflowSimulationGenerator.h" |
Syntax
struct FDataflowTaskManager
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AsyncNotification | TUniquePtr< FAsyncTaskNotification > | Async notification | Dataflow/DataflowSimulationGenerator.h | |
| bCancelled | std::atomic< bool > | Boolean to check if the simulation has been cancelled | Dataflow/DataflowSimulationGenerator.h | |
| CacheManager | TObjectPtr< AChaosCacheManager > | Temporary cache manager created to run the simulation | Dataflow/DataflowSimulationGenerator.h | |
| LastUpdateTime | FDateTime | Last updated time | Dataflow/DataflowSimulationGenerator.h | |
| NumFrames | int32 | Number of frames to simulate | Dataflow/DataflowSimulationGenerator.h | |
| NumSimulatedFrames | std::atomic< int32 > | Number of simulated frames | Dataflow/DataflowSimulationGenerator.h | |
| PreviewActor | TObjectPtr< AActor > | Temporary cache manager created to run the simulation | Dataflow/DataflowSimulationGenerator.h | |
| RecentDateTimeTicks | std::atomic< int64 > | Simulation time of current frames | Dataflow/DataflowSimulationGenerator.h | |
| SimulationResource | TSharedPtr< FDataflowSimulationResource > | Simulation resource | Dataflow/DataflowSimulationGenerator.h | |
| SimulationTask | TUniquePtr< FAsyncTask< FDataflowSimulationTask > > | Simulation task | Dataflow/DataflowSimulationGenerator.h | |
| SimulationWorld | UWorld * | Temporary world created to run the simulation | Dataflow/DataflowSimulationGenerator.h | |
| StartTime | FDateTime | Start time of the simulation | Dataflow/DataflowSimulationGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AllocateSimulationResource
(
const FVector2f& TimeRange, |
Allocate the simulation resource from the properties | Dataflow/DataflowSimulationGenerator.h | |
void CancelSimulationGeneration() |
Cancel the simulation generation | Dataflow/DataflowSimulationGenerator.h | |
void FreeSimulationResource() |
Free the simulation resource | Dataflow/DataflowSimulationGenerator.h |