![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SharedPointerInternals.h>
Public Member Functions | |
| UE_FORCEINLINE_HINT | FWeakReferencer () |
| FWeakReferencer (FWeakReferencer const &InWeakRefCountPointer) | |
| FWeakReferencer (FWeakReferencer &&InWeakRefCountPointer) | |
| FWeakReferencer (FSharedReferencer< Mode > const &InSharedRefCountPointer) | |
| ~FWeakReferencer () | |
| FWeakReferencer & | operator= (FWeakReferencer const &InWeakReference) |
| FWeakReferencer & | operator= (FWeakReferencer &&InWeakReference) |
| FWeakReferencer & | operator= (FSharedReferencer< Mode > const &InSharedReference) |
| UE_FORCEINLINE_HINT const bool | IsValid () const |
Friends | |
| template<ESPMode OtherMode> | |
| class | FSharedReferencer |
FWeakReferencer is a wrapper around a pointer to a reference controller that is used by a TWeakPtr to keep track of a referenced object's lifetime.
|
inline |
Default constructor with empty counter
|
inline |
Construct a weak referencer object from another weak referencer
|
inline |
Construct a weak referencer object from an rvalue weak referencer
|
inline |
Construct a weak referencer object from a shared referencer object
|
inline |
Destructor.
|
inline |
Tests to see whether or not this weak counter contains a valid reference
|
inline |
Assignment operator from a shared reference counter. If this counter was previously referencing an object, that reference will be released.
|
inline |
Assignment operator from an rvalue weak referencer object. If this counter was previously referencing an object, that reference will be released.
|
inline |
Assignment operator from a weak referencer object. If this counter was previously referencing an object, that reference will be released.
Expose access to ReferenceController to FSharedReferencer.