FWeakReferencer

Forward declarations.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/SharedPointerInternals.h

Include

#include "Templates/SharedPointerInternals.h"

Syntax

template<ESPMode Mode>
class FWeakReferencer

Remarks

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.

Constructors

Name Description

Public function

FWeakReferencer()

Default constructor with empty counter

Public function

FWeakReferencer

(
    FWeakReferencer const& InWeakRefCo...
)

Construct a weak referencer object from another weak referencer

Public function

FWeakReferencer

(
    FWeakReferencer&& InWeakRefCountPo...
)

Construct a weak referencer object from an rvalue weak referencer

Public function

FWeakReferencer

(
    FSharedReferencer< Mode > const& I...
)

Construct a weak referencer object from a shared referencer object

Destructors

Name Description

Public function

~FWeakReferencer()

Destructor.

Functions

Name Description

Public function Const

const bool

 

IsValid()

Tests to see whether or not this weak counter contains a valid reference

Operators

Name Description

Public function

FWeakReferen...

 

operator=

(
    FWeakReferencer const& InWeakRefer...
)

Assignment operator from a weak referencer object.

Public function

FWeakReferen...

 

operator=

(
    FWeakReferencer&& InWeakReference
)

Assignment operator from an rvalue weak referencer object.

Public function

FWeakReferen...

 

operator=

(
    FSharedReferencer< Mode > const& I...
)

Assignment operator from a shared reference counter.

Typedefs

Name

Description

TOps

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss