Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Async
Inheritance Hierarchy
- FCustomStatIDGraphTaskBase
- FDelegateGraphTask
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include | #include "Async/TaskGraphInterfaces.h" |
Syntax
class FDelegateGraphTask : public FCustomStatIDGraphTaskBase
Remarks
Task class for more full featured delegate based tasks. Still less efficient than a custom task, but provides all of the args
Variables
| Type | Name | Description | |
|---|---|---|---|
| const ENamedThreads::Type | DesiredThread | Thread to run delegate on | |
| FDelegate | TaskDelegate | Delegate to fire when task runs |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDelegateGraphTask
(
const FDelegate& InTaskDeletegate, |
Task constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FGraphEventRef | CreateAndDispatchWhenReady
(
const FDelegate& InTaskDeletegate, |
Create a task and dispatch it when the prerequisites are complete | |
| FGraphEventRef | CreateAndDispatchWhenReady
(
const FDelegate& InTaskDeletegate, |
Create a task and dispatch it when the prerequisites are complete | |
| void | DoTask
(
ENamedThreads::Type CurrentThread, |
||
| ENamedThreads::Type | |||
| ESubsequentsMode::Type |
Typedefs
| Name | Description |
|---|---|
| FDelegate |