Ark Server API (ASA) - Wiki
|
#include <SharedPointerInternals.h>
Private Member Functions | |
void | AssignReferenceController (TReferenceControllerBase< Mode > *NewReferenceController) |
Private Attributes | |
TReferenceControllerBase< Mode > * | ReferenceController |
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.
Definition at line 663 of file SharedPointerInternals.h.
|
inline |
Default constructor with empty counter
Definition at line 668 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from another weak referencer
Definition at line 673 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from an rvalue weak referencer
Definition at line 684 of file SharedPointerInternals.h.
|
inline |
Construct a weak referencer object from a shared referencer object
Definition at line 691 of file SharedPointerInternals.h.
|
inline |
Destructor.
Definition at line 702 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 759 of file SharedPointerInternals.h.
|
inline |
Tests to see whether or not this weak counter contains a valid reference
Definition at line 750 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 738 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 723 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 714 of file SharedPointerInternals.h.
Expose access to ReferenceController to FSharedReferencer.
Definition at line 784 of file SharedPointerInternals.h.
|
private |
Pointer to the reference controller for the object a TWeakPtr is referencing
Definition at line 789 of file SharedPointerInternals.h.