Navigation
API > API/Runtime > API/Runtime/InterchangeCore
| Name | FInterchangeTaskBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Core/Public/InterchangeTaskSystem.h |
| Include Path | #include "InterchangeTaskSystem.h" |
Syntax
class FInterchangeTaskBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInterchangeTaskBase() |
InterchangeTaskSystem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FInterchangeTaskBase() |
InterchangeTaskSystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FInterchangeTaskSystem | friend | InterchangeTaskSystem.h | ||
| Future | TFuture< uint64 > | If a task is asynchronous the future will be set. | InterchangeTaskSystem.h | |
| PrerequisiteTasks | TArray< uint64 > | InterchangeTaskSystem.h | ||
| TaskId | uint64 | InterchangeTaskSystem.h | ||
| TaskStatus | EInterchangeTaskStatus | InterchangeTaskSystem.h | ||
| TaskStatusCriticalSection | FCriticalSection | InterchangeTaskSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Execute () |
This function must return the task id to fill the promise of the execution. | InterchangeTaskSystem.h | |
const TArray< uint64 > & GetPrerequisiteTasks() |
InterchangeTaskSystem.h | ||
uint64 GetTaskId() |
InterchangeTaskSystem.h | ||
EInterchangeTaskStatus GetTaskStatus() |
InterchangeTaskSystem.h | ||
virtual EInterchangeTaskThread GetTaskThread() |
InterchangeTaskSystem.h | ||
void Wait () |
Wait can be call only on game thread. | InterchangeTaskSystem.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetPrerequisites
(
const TArray< uint64 >& InPrerequisiteTasks |
InterchangeTaskSystem.h | ||
bool SetTaskStatus
(
EInterchangeTaskStatus NewTaskStatus |
Only friend FInterchangeTaskSystem can set a new status. | InterchangeTaskSystem.h |