Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FTaskBase_1
Stores backlinks to prerequsites, either execution prerequisites or nested tasks (completion prerequisites). It's populated in three stages: 1) by adding execution prerequisites, before the task is launched. 2) by piping, when the previous piped task (if any) is added as a prerequisite. can happen concurrently with other threads accessing prerequisites for task retraction. 3) by adding nested tasks. after piping. during task execution.
| Name | FPrerequisites |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
| Include Path | #include "Tasks/TaskPrivate.h" |
Syntax
template<typename AllocatorType>
class FPrerequisites
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Mutex | UE::FMutex | Tasks/TaskPrivate.h | ||
| Prerequisites | TArray< FTaskBase *, AllocatorType > | Tasks/TaskPrivate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Lock() |
Tasks/TaskPrivate.h | ||
| Tasks/TaskPrivate.h | |||
void Push
(
FTaskBase* Prerequisite |
Tasks/TaskPrivate.h | ||
void PushNoLock
(
FTaskBase* Prerequisite |
Tasks/TaskPrivate.h | ||
void Unlock() |
Tasks/TaskPrivate.h |