| JUCE
    | 
Base class used by the JUCE ARA model objects to provide listenable interfaces. More...
#include <juce_ARAModelObjects.h>
| Public Member Functions | |
| ARAListenableModelClass ()=default | |
| Constructor. | |
| virtual | ~ARAListenableModelClass ()=default | 
| Destructor. | |
| void | addListener (ListenerType *l) | 
| Subscribe lto notified by changes to the object. | |
| void | removeListener (ListenerType *l) | 
| Unsubscribe lfrom object notifications. | |
| template<typename Callback > | |
| void | notifyListeners (Callback &&callback) | 
| Call the provided callback for each of the added listeners. | |
Base class used by the JUCE ARA model objects to provide listenable interfaces.
| 
 | default | 
Constructor.
| 
 | virtualdefault | 
Destructor.
| void ARAListenableModelClass< ListenerType >::addListener | ( | ListenerType * | l | ) | 
Subscribe l to notified by changes to the object. 
| l | The listener instance. | 
| void ARAListenableModelClass< ListenerType >::removeListener | ( | ListenerType * | l | ) | 
Unsubscribe l from object notifications. 
| l | The listener instance. | 
| void ARAListenableModelClass< ListenerType >::notifyListeners | ( | Callback && | callback | ) | 
Call the provided callback for each of the added listeners.