Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TGraphTask
This is a helper class returned from the factory. It constructs the embeded task with a set of arguments and sets the task up and makes it ready to execute. The task may complete before these routines even return.
| Name | FConstructor |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
Syntax
class FConstructor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstructor
(
FConstructor&& |
Async/TaskGraphInterfaces.h | ||
FConstructor
(
const FConstructor& |
Async/TaskGraphInterfaces.h | ||
FConstructor
(
const FGraphEventArray* InPrerequisites |
Async/TaskGraphInterfaces.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Prerequisites | const FGraphEventArray * | Async/TaskGraphInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphEventRef ConstructAndDispatchWhenReady
(
T&&... Args |
Constructs a task and immediately dispatches the task for possible execution if prerequisites have completed. | Async/TaskGraphInterfaces.h | |
TGraphTask * ConstructAndHold
(
T&&... Args |
Constructs a task and holds it for later dispatch by calling Unlock. | Async/TaskGraphInterfaces.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstructor & operator=
(
const FConstructor& |
Async/TaskGraphInterfaces.h | ||
FConstructor & operator=
(
FConstructor&& |
Async/TaskGraphInterfaces.h |