Navigation
API > API/Runtime > API/Runtime/Core
Simple wrapper class which holds a refcount; emits a deprecation warning when accessed.
It is unsafe to rely on the value of a refcount for any logic, and a non-deprecated getter function should never be added. In a multi-threaded context, the refcount could change after inspection. In a transactional context, the refcount may be higher than expected, as releases are deferred until completion of the transaction.
| Name | FReturnedRefCountValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/RefCounting.h |
| Include Path | #include "Templates/RefCounting.h" |
Syntax
struct FReturnedRefCountValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FReturnedRefCountValue
(
uint32 InRefCount |
Templates/RefCounting.h | ||
FReturnedRefCountValue
(
const FReturnedRefCountValue& Other |
Templates/RefCounting.h | ||
FReturnedRefCountValue
(
FReturnedRefCountValue&& Other |
Templates/RefCounting.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RefCount | uint32 | Templates/RefCounting.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CheckAtLeast
(
uint32 N |
Templates/RefCounting.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator uint32() |
Templates/RefCounting.h | ||
FReturnedRefCountValue & operator=
(
const FReturnedRefCountValue& Other |
Templates/RefCounting.h | ||
FReturnedRefCountValue & operator=
(
FReturnedRefCountValue&& Other |
Templates/RefCounting.h |