Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FPipe_1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TTask< TInvokeResult_T< TaskBodyType > > Launch
(
const TCHAR* InDebugName, |
Launches a task in the pipe | Tasks/Pipe.h | |
TTask< TInvokeResult_T< TaskBodyType > > Launch
(
const TCHAR* InDebugName, |
Launches a task in the pipe, with multiple prerequisites that must be completed before the task is scheduled | Tasks/Pipe.h |
Launch(const TCHAR *, TaskBodyType &&, ETaskPriority, EExtendedTaskPriority, ETaskFlags)
Description
Launches a task in the pipe
| Name | Launch |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/Pipe.h |
| Include Path | #include "Tasks/Pipe.h" |
template<typename TaskBodyType>
TTask < TInvokeResult_T< TaskBodyType > > Launch
(
const TCHAR * InDebugName,
TaskBodyType && TaskBody,
ETaskPriority Priority,
EExtendedTaskPriority ExtendedPriority,
ETaskFlags Flags
)
Task instance that can be used to wait for task completion or to obtain the result of task execution
Parameters
| Name | Remarks |
|---|---|
| InDebugName | helps to identify the task in debugger and profiler |
| TaskBody | a callable with no parameters, usually a lambda but can be also a functor object or a pointer to a function. TaskBody can return results. @Priority - task priority, can affect task scheduling once it's passed the pipe |
| TaskFlags | task config options |
Launch(const TCHAR *, TaskBodyType &&, PrerequisitesCollectionType &&, ETaskPriority, EExtendedTaskPriority, ETaskFlags)
Description
Launches a task in the pipe, with multiple prerequisites that must be completed before the task is scheduled
| Name | Launch |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/Pipe.h |
| Include Path | #include "Tasks/Pipe.h" |
template<typename TaskBodyType, typename PrerequisitesCollectionType>
TTask < TInvokeResult_T< TaskBodyType > > Launch
(
const TCHAR * InDebugName,
TaskBodyType && TaskBody,
PrerequisitesCollectionType && Prerequisites,
ETaskPriority Priority,
EExtendedTaskPriority ExtendedPriority,
ETaskFlags Flags
)
Task instance that can be used to wait for task completion or to obtain the result of task execution
Parameters
| Name | Remarks |
|---|---|
| InDebugName | helps to identify the task in debugger and profiler |
| TaskBody | a callable with no parameters, usually a lambda but can be also a functor object or a pointer to a function. TaskBody can return results. @Priority - task priority, can affect task scheduling once it's passed the pipe |
| TaskFlags | task config options |