Navigation
API > API/Plugins > API/Plugins/ModelingOperators
Inheritance Hierarchy
- FNonAbandonableTask
- TDeleterTask
References
| Module | ModelingOperators |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/ModelingTaskTypes.h |
| Include | #include "ModelingTaskTypes.h" |
Syntax
template<typename DeleteTaskType>
class TDeleterTask : public FNonAbandonableTask
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAsyncTask< DeleteTaskType > * | Task | The task we will delete, when it completes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDeleterTask
(
FAsyncTask< DeleteTaskType >* TaskIn |