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