Navigation
API > API/Runtime > API/Runtime/DataflowEngine
| Name | TEngineContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Dataflow/Engine/Public/Dataflow/DataflowContextObject.h |
| Include Path | #include "Dataflow/DataflowContextObject.h" |
| Source | /Engine/Source/Runtime/Dataflow/Engine/Public/Dataflow/DataflowObjectInterface.h |
Syntax
template<class Base>
class TEngineContext : public UE::Dataflow::FContextSingle
Inheritance Hierarchy
- FContext → FContextSingle → TEngineContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TEngineContext
(
const TObjectPtr< UObject >& InOwner |
Dataflow/DataflowObjectInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TEngineContext() |
Dataflow/DataflowObjectInterface.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Owner | TObjectPtr< UObject > | Dataflow/DataflowObjectInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_CONTEXT_INTERNAL
(
Base |
Dataflow/DataflowObjectInterface.h | ||
TSharedPtr< IDataflowEvaluator > EvaluateGraph
(
FOnPostEvaluationFunction OnPostEvaluation |
Evaluate the dataflow graph attached to the owner of this context and update the owner accordingly Returns an evaluator that can be used to query the progress of the evaluation Note that the evaluator is not kept by this context and needs to be kept by the caller | Dataflow/DataflowObjectInterface.h | |
TSharedPtr< IDataflowEvaluator > EvaluateGraph
(
UDataflow* DataflowObject, |
Evaluate an external dataflow graph and update the owner of this context with it Returns an evaluator that can be used to query the progress of the evaluation Note that the evaluator is not kept by this context and needs to be kept by the caller | Dataflow/DataflowObjectInterface.h | |
const TUniquePtr< FContextCacheElementBase > * GetBaseData
(
FContextCacheKey Key |
Dataflow/DataflowObjectInterface.h | ||
UObject * GetBoundAsset() |
Return the asset bound to this context This may be the owner but in the case of the use of Dataflow attachement this may be the Outer of the Owner | Dataflow/DataflowObjectInterface.h |
Public Virtual
Overridden from FContext
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetKeys
(
TSet< FContextCacheKey >& InKeys |
Dataflow/DataflowObjectInterface.h | ||
virtual void Serialize
(
FArchive& Ar |
Dataflow/DataflowObjectInterface.h |