| FNonAbandonableTask
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/ModelingTaskTypes.h |
Include |
#include "ModelingTaskTypes.h" |
template<typename DeleteTaskType>
class TDeleterTask : public FNonAbandonableTask
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 | Description | ||
---|---|---|---|
|
FAsyncTask< Del... |
Task |
The task we will delete, when it completes |
Name | Description | |
---|---|---|
|
TDeleterTask ( |
Name | Description | ||
---|---|---|---|
|
DoWork() |
||
|
GetStatId() |
Required for task system |