Navigation
API > API/Plugins > API/Plugins/ModelingOperators
Inheritance Hierarchy
- FNonAbandonableTask
- FAbortableBackgroundTask
- TModelingOpTask
References
| Module | ModelingOperators |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingOperators/Public/ModelingTaskTypes.h |
| Include | #include "ModelingTaskTypes.h" |
Syntax
class FAbortableBackgroundTask : public FNonAbandonableTask
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FProgressCancel * | GetProgress () |
||
| bool | IsAborted () |
||
| void | SetAbortSource
(
bool* bAbortFlagLocation |
Set the abort source flag. |