Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Misc
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Misc/DisplayClusterDataCache.h |
| Include | #include "Misc/DisplayClusterDataCache.h" |
Syntax
template<typename InDataType>
class TDisplayClusterDataCache
Remarks
Cache template for named data with automatic deletion of unused items after timeout.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const TSharedPtr< DataType, ESPMode::ThreadSafe >& InDataRef |
Register a new object. | |
| TSharedPtr< DataType, ESPMode::ThreadSafe > | Retrieve an existing object by a unique name. | ||
| FString | HashString
(
const FString& InString |
Helper to perform the very common case of hashing an FString into a hex representation. | |
| void | Release () |
Release the cache | |
| void | Tick
(
float DeltaTime |
When the number of DataRef references drops to 1, these items will be removed after a timeout. | |
| void | Create or remove tickable game object. |
Typedefs
| Name | Description |
|---|---|
| DataType | Data type of stored objects |