GL Studio C++ Runtime API
|
#include <weak_referenceable_mixin.h>
Public Member Functions | |
void | AddWeakReference (WeakReference *weakRef) |
void | NotifyWeakReferenceDestroyed (WeakReference *ref) |
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
|
inlinevirtual |
Implements WeakReferenceable.
|
inlinevirtual |
Implements WeakReferenceable.
|
protected |
pointer to array of weak refs. Allocated on the first call to GetWeakReference()