Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates
Inheritance Hierarchy
- TReferenceControllerBase
- TIntrusiveReferenceController
- TReferenceControllerWithDeleter
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Templates/SharedPointerInternals.h |
| Include | #include "Templates/SharedPointerInternals.h" |
Syntax
template<ESPMode Mode>
class TReferenceControllerBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| RefCountType | SharedReferenceCount | Number of shared references to this object. | |
| RefCountType | WeakReferenceCount | Number of weak references to this object. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TReferenceControllerBase
(
const TReferenceControllerBase& |
Non-copyable. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Adds a shared reference to this counter | ||
| void | Adds a weak reference to this counter | ||
| bool | Adds a shared reference to this counter ONLY if there is already at least one reference | ||
| void | Destroys the object associated with this reference counter. | ||
| int32 | Returns the shared reference count | ||
| bool | IsUnique () |
Checks if there is exactly one reference left to the object. | |
| void | Releases a shared reference to this counter | ||
| void | Releases a weak reference to this counter |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TReferenceControllerBase & | operator=
(
const TReferenceControllerBase& |
Typedefs
| Name | Description |
|---|---|
| RefCountType |