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. 更多...
#include <SharedPointerInternals.h>
Public 成员函数 | |
| FORCEINLINE | FWeakReferencer () |
| Default constructor with empty counter | |
| FORCEINLINE | FWeakReferencer (FSharedReferencer< Mode > const &InSharedRefCountPointer) |
| Construct a weak referencer object from a shared referencer object | |
| FORCEINLINE | FWeakReferencer (FWeakReferencer &&InWeakRefCountPointer) |
| Construct a weak referencer object from an rvalue weak referencer | |
| FORCEINLINE | FWeakReferencer (FWeakReferencer const &InWeakRefCountPointer) |
| Construct a weak referencer object from another weak referencer | |
| FORCEINLINE const bool | IsValid () const |
| Tests to see whether or not this weak counter contains a valid reference 更多... | |
| FORCEINLINE FWeakReferencer & | operator= (FSharedReferencer< Mode > const &InSharedReference) |
| Assignment operator from a shared reference counter. 更多... | |
| FORCEINLINE FWeakReferencer & | operator= (FWeakReferencer &&InWeakReference) |
| Assignment operator from an rvalue weak referencer object. 更多... | |
| FORCEINLINE FWeakReferencer & | operator= (FWeakReferencer const &InWeakReference) |
| Assignment operator from a weak referencer object. 更多... | |
| FORCEINLINE | ~FWeakReferencer () |
| Destructor. | |
友元 | |
| template<ESPMode OtherMode> | |
| class | FSharedReferencer |
| Expose access to ReferenceController to 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 |
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.