| FNonAbandonableTask
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/ModelingTaskTypes.h |
Include |
#include "ModelingTaskTypes.h" |
class FAbortableBackgroundTask : public FNonAbandonableTask
FAbortableBackgroundTask is a FNonAbandonableTask intended for long-running background computations that might need to be interrupted, such as expensive operations driven by a UI tool that the user may wish to cancel.
This class is intended to be used with FAsyncTaskExecuterWithAbort. In that case the SetAbortSource() function will be automatically called/configured.
A FProgressCancel object can be returned which will allow expensive computations to check the value of this internal flag.
Name | Description | |
---|---|---|
|
FAbortableBackgroundTask() |
Name | Description | ||
---|---|---|---|
|
FProgressCan... |
GetProgress() |
|
|
IsAborted() |
||
|
SetAbortSource ( |
Set the abort source flag. |