Ark Server API (ASE) - Wiki
|
#include <SharedPointerInternals.h>
Public Member Functions | |
FORCEINLINE | FWeakReferencer () |
FORCEINLINE | FWeakReferencer (FWeakReferencer const &InWeakRefCountPointer) |
FORCEINLINE | FWeakReferencer (FWeakReferencer &&InWeakRefCountPointer) |
FORCEINLINE | FWeakReferencer (FSharedReferencer< Mode > const &InSharedRefCountPointer) |
FORCEINLINE | ~FWeakReferencer () |
FORCEINLINE FWeakReferencer & | operator= (FWeakReferencer const &InWeakReference) |
FORCEINLINE FWeakReferencer & | operator= (FWeakReferencer &&InWeakReference) |
FORCEINLINE FWeakReferencer & | operator= (FSharedReferencer< Mode > const &InSharedReference) |
FORCEINLINE const bool | IsValid () const |
Private Types | |
typedef FReferenceControllerOps< Mode > | TOps |
Private Member Functions | |
void | AssignReferenceController (FReferenceControllerBase *NewReferenceController) |
Private Attributes | |
FReferenceControllerBase * | ReferenceController |
Friends | |
template<int 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.
Definition at line 549 of file SharedPointerInternals.h.
|
private |
Definition at line 551 of file SharedPointerInternals.h.
|
inline |
Default constructor with empty counter
Definition at line 556 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from another weak referencer
Definition at line 561 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from an rvalue weak referencer
Definition at line 572 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from a shared referencer object
Definition at line 579 of file SharedPointerInternals.h.
|
inline |
Destructor.
Definition at line 590 of file SharedPointerInternals.h.
|
inlineprivate |
Assigns a new reference controller to this counter object, first adding a reference to it, then releasing the previous object.
Definition at line 647 of file SharedPointerInternals.h.
|
inline |
Tests to see whether or not this weak counter contains a valid reference
Definition at line 638 of file SharedPointerInternals.h.
|
inline |
Assignment operator from a shared reference counter. If this counter was previously referencing an object, that reference will be released.
Definition at line 626 of file SharedPointerInternals.h.
|
inline |
Assignment operator from an rvalue weak referencer object. If this counter was previously referencing an object, that reference will be released.
Definition at line 611 of file SharedPointerInternals.h.
|
inline |
Assignment operator from a weak referencer object. If this counter was previously referencing an object, that reference will be released.
Definition at line 602 of file SharedPointerInternals.h.
Expose access to ReferenceController to FSharedReferencer.
Definition at line 672 of file SharedPointerInternals.h.
|
private |
Pointer to the reference controller for the object a TWeakPtr is referencing
Definition at line 677 of file SharedPointerInternals.h.