Navigation
API > API/Runtime > API/Runtime/Core
Task class for lambda based tasks.
| Name | TFunctionGraphTaskImpl |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h |
| Include Path | #include "Async/TaskGraphInterfaces.h" |
Syntax
template<typename Signature, ESubsequentsMode::Type SubsequentsMode>
class TFunctionGraphTaskImpl : public FCustomStatIDGraphTaskBase
Inheritance Hierarchy
- FCustomStatIDGraphTaskBase → TFunctionGraphTaskImpl
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TFunctionGraphTaskImpl
(
TUniqueFunction< Signature >&& InFunction, |
Task constructor | Async/TaskGraphInterfaces.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DesiredThread | const ENamedThreads::Type | Thread to run the function on | Async/TaskGraphInterfaces.h | |
| Function | TUniqueFunction< Signature > | Function to run | 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 void DoTaskImpl
(
TUniqueFunction< void()>& Function, |
Async/TaskGraphInterfaces.h | ||
static void DoTaskImpl
(
TUniqueFunction< void(const FGraphEventRef&)>& Function, |
Async/TaskGraphInterfaces.h | ||
static void DoTaskImpl
(
TUniqueFunction< void(ENamedThreads::Type, const FGraphEventRef&)>& Function, |
Async/TaskGraphInterfaces.h | ||
static ESubsequentsMode::Type GetSubsequentsMode() |
Async/TaskGraphInterfaces.h |