Navigation
API > API/Plugins > API/Plugins/TedsOperations
System to execute externally customizable logic for a given purpose and input.
By deriving this type, an "OperationSystem" for a specific purpose may be created, to which customizable "Operations" can be registered. The system may then be invoked to "test" or "apply" a registered operation that fits the given input.
| Name | UOperationSystem |
| Type | class |
| Header File | /Engine/Plugins/Experimental/EditorDataStorageFeatures/Source/TedsOperations/Public/TedsOperationSystem.h |
| Include Path | #include "TedsOperationSystem.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UOperationSystem : public UEditorDataStorageFactory
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEditorDataStorageFactory → UOperationSystem
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UOperationSystem() |
TedsOperationSystem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UOperationSystem() |
TedsOperationSystem.h |
Structs
| Name | Remarks |
|---|---|
| FDefaultLess | Default sorter for invoking an OperationSystem. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FFilter | TFunction< bool(const UE::Editor::DataStorage::ICoreProvider &, UE::Editor::DataStorage::RowHandle)> | TedsOperationSystem.h | |
| FLess | TFunction< bool(const UE::Editor::DataStorage::ICoreProvider &, UE::Editor::DataStorage::RowHandle, UE::Editor::DataStorage::RowHandle)> | TedsOperationSystem.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultPriority | int64 | TedsOperationSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE::Editor::DataStorage::RowHandle AddOperation
(
FName Name, |
Utility method to create a row with columns for the given input operation. | TedsOperationSystem.h | |
int32 Apply
(
UE::Editor::DataStorage::FRowHandleArrayView InputRows, |
Invokes the Apply callback for each input row for all operations that accept (probe call) it and writes the result of the first success to the input row. | TedsOperationSystem.h | |
bool CreateInputRows
(
UE::Editor::DataStorage::FRowHandleArray& OutRows, |
Utility method to create a batch of rows that can be used as input for operations. | TedsOperationSystem.h | |
void GetOperations
(
TArray< UE::Editor::DataStorage::RowHandle >& OutRows, |
Retrieves all operation rows that accept (probe call) the given input row. | TedsOperationSystem.h | |
void RemoveInputRows
(
UE::Editor::DataStorage::FRowHandleArrayView RowsToRemove |
Utility method to remove a batch of rows. | TedsOperationSystem.h | |
int32 Test
(
UE::Editor::DataStorage::FRowHandleArrayView InputRows, |
Invokes the Test callback for each input row for all operations that accept (probe call) it and writes the result of the first success to the input row. | TedsOperationSystem.h |
Public Virtual
Overridden from UEditorDataStorageFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PreRegister
(
UE::Editor::DataStorage::ICoreProvider& Storage |
TedsOperationSystem.h | ||
virtual void RegisterQueries
(
UE::Editor::DataStorage::ICoreProvider& Storage |
TedsOperationSystem.h | ||
virtual void RegisterTables
(
UE::Editor::DataStorage::ICoreProvider& Storage |
TedsOperationSystem.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetQueryDescription
(
UE::Editor::DataStorage::FQueryDescription& OutDescription |
TedsOperationSystem.h |