Navigation
API > API/Plugins > API/Plugins/ModelingOperators
TDeleterTask is a task that takes ownership of another FAsyncTask that is (presumably) still executing some operation. The DeleterTask waits for this FAsyncTask to complete, and then deletes it.
TDeleterTask should be launched as a background task via FAutoDeleteAsyncTask, see FAsyncTaskExecuterWithAbort::CancelAndDelete for an example.
| Name | TDeleterTask |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/ModelingTaskTypes.h |
| Include Path | #include "ModelingTaskTypes.h" |
Syntax
template<typename DeleteTaskType>
class TDeleterTask : public FNonAbandonableTask
Inheritance Hierarchy
- FNonAbandonableTask → TDeleterTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDeleterTask
(
FAsyncTask< DeleteTaskType >* TaskIn |
ModelingTaskTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Task | FAsyncTask< DeleteTaskType > * | The task we will delete, when it completes | ModelingTaskTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DoWork() |
ModelingTaskTypes.h | ||
TStatId GetStatId() |
Required for task system | ModelingTaskTypes.h |