GL Studio C++ Runtime API
|
#include <weak_referenceable_mixin.h>
Public Member Functions | |
void | AddWeakReference (WeakReference *weakRef) override |
void | NotifyWeakReferenceDestroyed (WeakReference *ref) override |
Protected Member Functions | |
WeakReferenceableMixin (void) | |
virtual | ~WeakReferenceableMixin () |
Protected Attributes | |
DynamicArray< WeakReference * > * | _weakRefs |
utility helper mixin class for simplifying implementing WeakReferenceable. Classes that want to implement WeakReferenceable can simply inherit this class
|
inlineprotected |
constructor
|
inlineprotectedvirtual |
destructor. Notifies all weak references that this object is being deleted
|
inlineoverridevirtual |
Implements WeakReferenceable.
|
inlineoverridevirtual |
Implements WeakReferenceable.
|
protected |
pointer to array of weak refs. Allocated on the first call to GetWeakReference()