Navigation
Unreal Engine C++ API Reference > Runtime > Core
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FPipe | A chain of tasks that are executed one after another. | |
![]() |
FTaskBase | An abstract base class for task implementation. | |
![]() |
FTaskEvent | A synchronisation primitive, a recommended substitution of `FEvent_ for signalling between tasks. | |
![]() |
FTaskEventBase | A special kind of task that is used for signalling or dependency management. | |
![]() |
FTaskHandle | A common part of the generic [TTask](API\Runtime\Core\Tasks\TTask)<ResultType>_ and its TTask |
|
![]() |
FTaskPriorityCVar | Console variable for configuring task priorities Example: FTaskPriorityCVar CVar{ TEXT("CVarName"), TEXT("CVarHelp"), ETaskPriority::Normal, EExtendedTaskPriority::None }; Launch(UE_SOURCE_LOCATION, [] {}, CVar.GetTaskPriority(), CVar.GetExtendedTaskPriority()).Wait(); | |
![]() |
TExecutableTask | A separate derived class to add "small task" allocation optimization to both base class specializations | |
![]() |
TExecutableTaskBase | Task implementation that can be executed, as it stores task body. | |
![]() |
TTask | A movable/copyable handle of `Private::TTaskWithResult*_ with the API adopted for public usage. | |
![]() |
TTaskWithResult | An extension of FTaskBase for tasks that return a result. |
Typedefs
Name | Description |
---|---|
FExecutableTaskAllocator | |
FTask | |
FTaskEventBaseAllocator |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
UE::Tasks::EExtendedTaskPriority | Special task priorities for tasks that are never sent to the scheduler |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | UE::Tasks::AddNested
(
const TaskType& Nested |
Adds the nested task to the task that is being currently executed by the current thread. |
![]() |
bool | UE::Tasks::BusyWait
(
const TaskCollectionType& Tasks, |
Wait for multiple tasks while executing other tasks |
![]() |
TTask< TInvokeResult_T< TaskBodyType > > | UE::Tasks::Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution |
![]() |
TTask< TInvokeResult_T< TaskBodyType > > | UE::Tasks::Launch
(
const TCHAR* DebugName, |
Launches a task for asynchronous execution, with prerequisites that must be completed before the task is scheduled |
![]() |
TTask< ResultType > | UE::Tasks::MakeCompletedTask
(
ArgTypes&&... Args |
Creates and returns an already completed task holding a result value constructed from given args |
![]() |
TStaticArray< Private::FTaskBase *, sizeof...(TaskTypes)> | UE::Tasks::Prerequisites
(
TaskTypes&... Tasks |
|
![]() |
const TaskCollectionType & | UE::Tasks::Prerequisites
(
const TaskCollectionType& Tasks |
|
![]() |
TArray< TaskTrace::FId > | UE::Tasks::Private::GetTraceIds
(
const TaskCollectionType& Tasks |
|
![]() |
void | UE::Tasks::Private::PrerequisitesUnpacker
(
ArrayType& Array, |
|
![]() |
void | UE::Tasks::Private::PrerequisitesUnpacker
(
ArrayType& Array, |
|
![]() |
bool | UE::Tasks::Private::TryRetractAndExecute
(
const TaskCollectionType& Tasks, |
Task retraction of multiple tasks, with timeout. |
![]() |
void | UE::Tasks::Wait
(
Private::FTaskHandle& Task |
|
![]() |
bool | UE::Tasks::Wait
(
const TaskCollectionType& Tasks, |
Wait for multiple tasks, with timeout |
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
constexpr int32 | SmallTaskSize |