| FNonAbandonableTask
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingOperators/Public/BackgroundModelingComputeSource.h |
Include |
#include "BackgroundModelingComputeSource.h" |
template<typename OpType>
class TModelingOpTask : public FAbortableBackgroundTask
TModelingOpTask is an FAbortableBackgroundTask that executes a modeling operator of template type OpType. OpType must implement a function with signature void CalculateResult(FProgressCancel*)
After work completes, ExtractOperator() can be used to recover the internal OpType instance, to get access to the completed work.
See TBackgroundModelingComputeSource for example usage (however this class can be used by itself)
Name | Description | ||
---|---|---|---|
|
TUniquePtr< OpT... |
Operator |
Name | Description | |
---|---|---|
|
TModelingOpTask ( |
Name | Description | ||
---|---|---|---|
|
DoWork() |
||
|
TUniquePtr< ... |
ExtractOperator() |
|
|
GetStatId() |
FAsyncTask framework required function. |