Navigation
API > API/Plugins > API/Plugins/StylusInput
| Name | TSharedRefDataContainer |
| Type | class |
| Header File | /Engine/Plugins/Editor/StylusInput/Source/StylusInput/Public/StylusInputUtils.h |
| Include Path | #include "StylusInputUtils.h" |
Syntax
template<typename DataType, bool ThreadSafe>
class TSharedRefDataContainer
Structs
| Name | Remarks |
|---|---|
| FNoLock | |
| FScopeNoLock |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LockType | std::conditional_t< ThreadSafe, FRWLock, FNoLock > | StylusInputUtils.h | |
| ReadScopeLockType | std::conditional_t< ThreadSafe, FReadScopeLock, FScopeNoLock > | StylusInputUtils.h | |
| WriteScopeLockType | std::conditional_t< ThreadSafe, FWriteScopeLock, FScopeNoLock > | StylusInputUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | TArray< TSharedRef< DataType > > | StylusInputUtils.h | ||
| RWLock | LockType | StylusInputUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< DataType > Add
(
uint32 ID |
StylusInputUtils.h | ||
void AddOrReplace
(
TSharedPtr< DataType >&& Item |
StylusInputUtils.h | ||
void Clear() |
StylusInputUtils.h | ||
bool Contains
(
uint32 ID |
StylusInputUtils.h | ||
TSharedPtr< DataType > Get
(
uint32 ID |
StylusInputUtils.h | ||
uint32 Num() |
StylusInputUtils.h | ||
bool Remove
(
uint32 ID |
StylusInputUtils.h | ||
void Update
(
const TSharedRefDataContainer< DataType, false >& InData |
StylusInputUtils.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TSharedRef< DataType > & operator[]
(
const uint32 Index |
StylusInputUtils.h |