WeakRefBase Struct Reference

#include <weakref.h>

Inheritance diagram for WeakRefBase:

Public Member Functions

 WeakRefBase ()
 
 WeakRefBase (WeakRefTargetBase *targetData)
 
 ~WeakRefBase ()
 
 WeakRefBase (const WeakRefBase &src)
 
 WeakRefBase (WeakRefBase &&src)
 
WeakRefBaseoperator= (const WeakRefBase &src)
 
 MAXON_OPERATOR_MOVE_ASSIGNMENT (WeakRefBase)
 

Public Attributes

WeakRefTargetBasedata
 

Constructor & Destructor Documentation

◆ WeakRefBase() [1/4]

◆ WeakRefBase() [2/4]

WeakRefBase ( WeakRefTargetBase targetData)
explicit

◆ ~WeakRefBase()

Removes a weak reference.

◆ WeakRefBase() [3/4]

WeakRefBase ( const WeakRefBase src)

Copy constructs a weak reference.

Parameters
[in]srcSource weak reference.

◆ WeakRefBase() [4/4]

WeakRefBase ( WeakRefBase &&  src)

Move constructs a weak reference.

Parameters
[in]srcSource weak reference.

Member Function Documentation

◆ operator=()

WeakRefBase& operator= ( const WeakRefBase src)

Copies a weak reference.

Parameters
[in]srcSource weak reference.
Returns
*this.

◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()

MAXON_OPERATOR_MOVE_ASSIGNMENT ( WeakRefBase  )

Moves a weak reference.

Parameters
[in]srcSource weak reference.
Returns
*this.

Member Data Documentation

◆ data

WeakRefTargetBase* data
mutable