Create a derived implementation of this class and pass it to ARAObject::visit() to retrieve the concrete type of a model object. More...
#include <juce_ARAModelObjects.h>
Public Member Functions | |
virtual | ~ARAObjectVisitor ()=default |
Destructor. | |
virtual void | visitDocument (juce::ARADocument &) |
Called when visiting an ARADocument object. | |
virtual void | visitMusicalContext (juce::ARAMusicalContext &) |
Called when visiting an ARAMusicalContext object. | |
virtual void | visitRegionSequence (juce::ARARegionSequence &) |
Called when visiting an ARARegionSequence object. | |
virtual void | visitPlaybackRegion (juce::ARAPlaybackRegion &) |
Called when visiting an ARAPlaybackRegion object. | |
virtual void | visitAudioModification (juce::ARAAudioModification &) |
Called when visiting an ARAAudioModification object. | |
virtual void | visitAudioSource (juce::ARAAudioSource &) |
Called when visiting an ARAAudioSource object. | |
Create a derived implementation of this class and pass it to ARAObject::visit() to retrieve the concrete type of a model object.
Combined with ARAObject::traverse() on the ARADocument object it is possible to discover the entire model graph.
Note that the references passed to the visit member functions are only guaranteed to live for the duration of the function call, so don't store pointers to these objects!
|
virtualdefault |
Destructor.
|
virtual |
Called when visiting an ARADocument object.
Referenced by ARADocument::visit().
|
virtual |
Called when visiting an ARAMusicalContext object.
Referenced by ARAMusicalContext::visit().
|
virtual |
Called when visiting an ARARegionSequence object.
Referenced by ARARegionSequence::visit().
|
virtual |
Called when visiting an ARAPlaybackRegion object.
Referenced by ARAPlaybackRegion::visit().
|
virtual |
Called when visiting an ARAAudioModification object.
Referenced by ARAAudioModification::visit().
|
virtual |
Called when visiting an ARAAudioSource object.
Referenced by ARAAudioSource::visit().