40 #ifndef INCLUDED_WEAK_REFERENCEABLE_MIXIN_H
41 #define INCLUDED_WEAK_REFERENCEABLE_MIXIN_H
75 for(
unsigned int index = 0u; index <
_weakRefs->Count(); ++index )
98 for(
unsigned int index = 0u; index <
_weakRefs->Count(); ++index )
100 ( *_weakRefs )[ index ]->NotifyReferentDestroyed();
Definition: dynamic_array.h:66
The disti::DynamicArray class. A templated array of objects capable of dynamically growing...
void NotifyWeakReferenceDestroyed(WeakReference *ref) override
Definition: weak_referenceable_mixin.h:69
Definition: weak_reference.h:51
Definition: weak_reference.h:64
virtual ~WeakReferenceableMixin()
Definition: weak_referenceable_mixin.h:94
Definition: weak_referenceable_mixin.h:52
void AddWeakReference(WeakReference *weakRef) override
Definition: weak_referenceable_mixin.h:56
WeakReferenceableMixin(void)
Definition: weak_referenceable_mixin.h:88
DynamicArray< WeakReference * > * _weakRefs
Definition: weak_referenceable_mixin.h:109
Macros and helper code to determine what subset of C++11/14/17 is available.
Definition: bmpimage.h:46
weak reference and related classes