Ark Server API (ASA) - Wiki
|
#include <SharedPointerInternals.h>
Private Attributes | |
TReferenceControllerBase< Mode > * | ReferenceController |
Friends | |
template<ESPMode OtherMode> | |
class | FWeakReferencer |
FSharedReferencer is a wrapper around a pointer to a reference controller that is used by either a TSharedRef or a TSharedPtr to keep track of a referenced object's lifetime
Definition at line 478 of file SharedPointerInternals.h.
|
inline |
Constructor for an empty shared referencer object
Definition at line 483 of file SharedPointerInternals.h.
|
inlineexplicit |
Constructor that counts a single reference to the specified object
Definition at line 488 of file SharedPointerInternals.h.
|
inline |
Copy constructor creates a new reference to the existing object
Definition at line 493 of file SharedPointerInternals.h.
|
inline |
Move constructor creates no new references
Definition at line 505 of file SharedPointerInternals.h.
|
inline |
Creates a shared referencer object from a weak referencer object. This will only result in a valid object reference if the object already has at least one other shared referencer.
Definition at line 513 of file SharedPointerInternals.h.
|
inline |
Creates a shared referencer object from a weak referencer object. This will only result in a valid object reference if the object already has at least one other shared referencer.
Definition at line 532 of file SharedPointerInternals.h.
|
inline |
Destructor.
Definition at line 555 of file SharedPointerInternals.h.
|
inline |
Returns the number of shared references to this object (including this reference.)
Definition at line 630 of file SharedPointerInternals.h.
|
inline |
Returns true if this is the only shared reference to this object. Note that there may be outstanding weak references left.
Definition at line 641 of file SharedPointerInternals.h.
|
inline |
Tests to see whether or not this shared counter contains a valid reference
Definition at line 620 of file SharedPointerInternals.h.
|
inline |
Move assignment operator adds no references to the assigned object. If this counter was previously referencing an object, that reference will be released.
Definition at line 594 of file SharedPointerInternals.h.
|
inline |
Assignment operator adds a reference to the assigned object. If this counter was previously referencing an object, that reference will be released.
Definition at line 567 of file SharedPointerInternals.h.
Definition at line 649 of file SharedPointerInternals.h.
|
private |
Pointer to the reference controller for the object a shared reference/pointer is referencing
Definition at line 654 of file SharedPointerInternals.h.