|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A class to keep an eye on a component and check for it being deleted. More...
#include "juce_Component.h"
Public Member Functions | |
| BailOutChecker (Component *component) | |
| Creates a checker that watches one component. | |
| bool | shouldBailOut () const noexcept |
| Returns true if either of the two components have been deleted since this object was created. | |
A class to keep an eye on a component and check for it being deleted.
This is designed for use with the ListenerList::callChecked() methods, to allow the list iterator to stop cleanly if the component is deleted by a listener callback while the list is still being iterated.
Definition at line 2351 of file juce_Component.h.
| juce::Component::BailOutChecker::BailOutChecker | ( | Component * | component | ) |
Creates a checker that watches one component.
Definition at line 2908 of file juce_Component.cpp.
|
noexcept |
Returns true if either of the two components have been deleted since this object was created.
Definition at line 2914 of file juce_Component.cpp.