Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | TAsyncTreeDifferences |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AsyncTreeDifferences.h |
| Include Path | #include "AsyncTreeDifferences.h" |
Syntax
template<typename InNodeType>
class TAsyncTreeDifferences
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAsyncTreeDifferences
(
const TAttribute< TArray< ValueType > >& InRootValuesA, |
AsyncTreeDifferences.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DiffNodeType | TDiffNode< ValueType > | AsyncTreeDifferences.h | |
| FOnQueueFlushed | TMulticastDelegate_OneParam< void, const TAsyncTreeDifferences & > | Every time the update queue is completed this is called (max of once per Tick) | AsyncTreeDifferences.h |
| ValueType | InNodeType | AsyncTreeDifferences.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Head | TUniquePtr< DiffNodeType > | Head of the main diff tree (note: not for user modification. Tick() will overwrite user changes) | AsyncTreeDifferences.h | |
| OnQueueFlushed | FOnQueueFlushed | AsyncTreeDifferences.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RootValuesA | TAttribute< TArray< ValueType > > | AsyncTreeDifferences.h | ||
| RootValuesB | TAttribute< TArray< ValueType > > | AsyncTreeDifferences.h | ||
| Specification | TUniquePtr< TTreeDiffSpecification< ValueType > > | AsyncTreeDifferences.h | ||
| UpdateQueue | TArray< DiffNodeType * > | AsyncTreeDifferences.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FlushQueue() |
Process all tasks synchronously until all data is up to date. (slow) | AsyncTreeDifferences.h | |
void ForEach
(
ETreeTraverseOrder TraversalOrder, |
Calls Method(DiffNode) on each diff node in the tree. | AsyncTreeDifferences.h | |
void SetDiffSpecification
(
TArgs... Args |
AsyncTreeDifferences.h | ||
void Tick
(
float MaxAllottedTimeMs |
Update the differences list over time | AsyncTreeDifferences.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< TArray< int32 > > CalculateLCSTableForDiffNodes
(
const TArray< DiffNodeType >& FoundNodes, |
AsyncTreeDifferences.h | ||
static bool PostOrderRecursive
(
const TUniquePtr< DiffNodeType >& Node, |
AsyncTreeDifferences.h | ||
static bool PreOrderRecursive
(
const TUniquePtr< DiffNodeType >& Node, |
AsyncTreeDifferences.h | ||
static bool ReversePostOrderRecursive
(
const TUniquePtr< DiffNodeType >& Node, |
AsyncTreeDifferences.h | ||
static bool ReversePreOrderRecursive
(
const TUniquePtr< DiffNodeType >& Node, |
AsyncTreeDifferences.h |