Navigation
API > API/Runtime > API/Runtime/DataflowCore
UObject cache element, prevents the object from being garbage collected while in the cache.
| Name | TContextCacheElementUObject |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Dataflow/Core/Public/Dataflow/DataflowContextCache.h |
| Include Path | #include "Dataflow/DataflowContextCache.h" |
Syntax
template<class T>
struct TContextCacheElementUObject :
public UE::Dataflow::FContextCacheElementBase ,
public FGCObject
Inheritance Hierarchy
- FContextCacheElementBase → TContextCacheElementUObject
- FGCObject → TContextCacheElementUObject
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TContextCacheElementUObject
(
const TContextCacheElementUObject< T >& Other |
Dataflow/DataflowContextCache.h | ||
TContextCacheElementUObject
(
FGuid InNodeGuid, |
Dataflow/DataflowContextCache.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDataType | TDecay< T >::Type | Dataflow/DataflowContextCache.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ObjectPtr | FDataType | Dataflow/DataflowContextCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T & GetData
(
const IContextCacheStore&, |
Dataflow/DataflowContextCache.h |
Overridden from FContextCacheElementBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< FContextCacheElementBase > Clone
(
const IContextCacheStore& Context |
Clone the cache entry | Dataflow/DataflowContextCache.h | |
virtual TUniquePtr< FContextCacheElementBase > CreateFromArrayElement
(
const IContextCacheStore& Context, |
Dataflow/DataflowContextCache.h | ||
virtual int32 GetNumArrayElements
(
const IContextCacheStore& Context |
Dataflow/DataflowContextCache.h | ||
virtual const void * GetUntypedData
(
const IContextCacheStore&, |
Dataflow/DataflowContextCache.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Dataflow/DataflowContextCache.h | ||
virtual FString GetReferencerName() |
Dataflow/DataflowContextCache.h |