Navigation
API > API/Plugins > API/Plugins/MutableRuntime
Warnings * This base allow multi-threaded manipulation of smart pointers, since the count increments and decrements are atomic.
Base class for all reference counted objects. Any subclass of this class can be managed using smart pointers through the Ptr
This base allow multi-threaded manipulation of smart pointers, since the count increments and decrements are atomic.
| Name | RefCounted |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/RefCounted.h |
| Include Path | #include "MuR/RefCounted.h" |
Syntax
class RefCounted
Derived Classes
RefCounted derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RefCounted () |
MuR/RefCounted.h | ||
RefCounted
(
const RefCounted& |
MuR/RefCounted.h | ||
RefCounted
(
const RefCounted&& |
MuR/RefCounted.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~RefCounted() |
MuR/RefCounted.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| m_refCount | std::atomic< int32 > | MuR/RefCounted.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DecRef() |
MuR/RefCounted.h | ||
void IncRef() |
MuR/RefCounted.h | ||
bool IsUnique() |
MuR/RefCounted.h |
Protected
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RefCounted & operator=
(
const RefCounted& |
MuR/RefCounted.h | ||
RefCounted & operator=
(
const RefCounted&& |
MuR/RefCounted.h |