|
LMMS
|
#include <juce_ARAModelObjects.h>
Public Types | |
| using | PropertiesPtr = ARA::PlugIn::PropertiesPtr<ARA::ARADocumentProperties> |
| using | Listener = ARADocumentListener |
Public Member Functions | |
| template<typename AudioSource_t = ARAAudioSource> | |
| const std::vector< AudioSource_t * > & | getAudioSources () const noexcept |
| template<typename MusicalContext_t = ARAMusicalContext> | |
| const std::vector< MusicalContext_t * > & | getMusicalContexts () const noexcept |
| template<typename RegionSequence_t = ARARegionSequence> | |
| const std::vector< RegionSequence_t * > & | getRegionSequences () const noexcept |
| size_t | getNumChildren () const noexcept override |
| ARAObject * | getChild (size_t index) override |
| ARAObject * | getParent () override |
| void | visit (ARAObjectVisitor &visitor) override |
| Public Member Functions inherited from juce::ARAListenableModelClass< ARADocumentListener > | |
| ARAListenableModelClass ()=default | |
| virtual | ~ARAListenableModelClass ()=default |
| void | addListener (ARADocumentListener *l) |
| void | removeListener (ARADocumentListener *l) |
| void | notifyListeners (Callback &&callback) |
| Public Member Functions inherited from juce::ARAObject | |
| virtual | ~ARAObject ()=default |
| template<typename Fn> | |
| void | traverse (Fn &&fn) |
| using juce::ARADocument::Listener = ARADocumentListener |
| using juce::ARADocument::PropertiesPtr = ARA::PlugIn::PropertiesPtr<ARA::ARADocumentProperties> |
|
inlinenoexcept |
Returns the result of ARA::PlugIn::Document::getAudioSources() with the pointers within cast to ARAAudioSource*.
If you have overridden ARADocumentControllerSpecialisation::doCreateAudioSource(), then you can use the template parameter to cast the pointers to your subclass of ARAAudioSource.
|
overridevirtual |
Returns the child object associated with the given index.
The index should be smaller than the value returned by getNumChildren().
Note that the index of a particular object may change when the ARA model graph is edited.
Implements juce::ARAObject.
|
inlinenoexcept |
Returns the result of ARA::PlugIn::Document::getMusicalContexts() with the pointers within cast to ARAMusicalContext*.
If you have overridden ARADocumentControllerSpecialisation::doCreateMusicalContext(), then you can use the template parameter to cast the pointers to your subclass of ARAMusicalContext.
|
overridevirtualnoexcept |
Returns the number of ARA model objects aggregated by this object. Objects that are merely referred to, but not aggregated by the current object are not included in this count, e.g. a referenced RegionSequence does not count as a child of the referring PlaybackRegion.
See the ARA documentation's ARA Model Graph Overview for more details.
Implements juce::ARAObject.
|
inlineoverridevirtual |
Returns the ARA model object that aggregates this object.
Returns nullptr for the ARADocument root object.
Implements juce::ARAObject.
|
inlinenoexcept |
Returns the result of ARA::PlugIn::Document::getRegionSequences() with the pointers within cast to ARARegionSequence*.
If you have overridden ARADocumentControllerSpecialisation::doCreateRegionSequence(), then you can use the template parameter to cast the pointers to your subclass of ARARegionSequence.
|
inlineoverridevirtual |
Allows the retrieval of the concrete type of a model object.
To use this, create a new class derived from ARAObjectVisitor and override its functions depending on which concrete types you are interested in.
Calling this function inside the function passed to ARAObject::traverse() allows you to map the entire ARA model graph.
Implements juce::ARAObject.