#include <weak_referenceable_mixin.h>
utility helper mixin class for simplifying implementing WeakReferenceable. Classes that want to implement WeakReferenceable can simply inherit this class 
◆ WeakReferenceableMixin()
◆ ~WeakReferenceableMixin()
destructor. Notifies all weak references that this object is being deleted 
 
 
◆ AddWeakReference()
Add a weak reference to this object, that gets notified when this object is destroyed. Does not take ownership of weakRef. 
- Parameters
- 
  
    | weakRef | the weak reference to add. |  
 
Implements WeakReferenceable.
 
 
◆ NotifyWeakReferenceDestroyed()
  
  | 
        
          | void NotifyWeakReferenceDestroyed | ( | WeakReference * | weakReference | ) |  |  | inlineoverridevirtual | 
 
Notify this object that its weak reference is being destroyed. 
- Parameters
- 
  
    | weakReference | The weak reference to notify. |  
 
Implements WeakReferenceable.
 
 
◆ _weakRefs
pointer to array of weak refs. Allocated on the first call to GetWeakReference() 
 
 
The documentation for this class was generated from the following file: