40#ifndef INCLUDED_WEAK_REFERENCEABLE_MIXIN_H
41#define INCLUDED_WEAK_REFERENCEABLE_MIXIN_H
73 for(
unsigned int index = 0u; index <
_weakRefs->Count(); ++index )
96 for(
unsigned int index = 0u; index <
_weakRefs->Count(); ++index )
98 ( *_weakRefs )[ index ]->NotifyReferentDestroyed();
Definition: dynamic_array.h:79
Definition: weak_reference.h:52
Definition: weak_referenceable_mixin.h:53
virtual ~WeakReferenceableMixin()
Definition: weak_referenceable_mixin.h:92
DynamicArray< WeakReference * > * _weakRefs
Definition: weak_referenceable_mixin.h:107
void AddWeakReference(WeakReference *weakRef) override
Definition: weak_referenceable_mixin.h:55
WeakReferenceableMixin()
Definition: weak_referenceable_mixin.h:86
void NotifyWeakReferenceDestroyed(WeakReference *ref) override
Definition: weak_referenceable_mixin.h:67
Definition: weak_reference.h:65
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
weak reference and related classes