This class is used by the various ARA model object helper classes, such as MusicalContext, AudioSource etc.
It helps with deregistering the model objects from the DocumentController when the lifetime of the helper class object ends.
You shouldn't use this class directly but instead inherit from the helper classes.
Public Types | |
using | Ptr = PtrIn |
Public Member Functions | |
ManagedARAHandle (ARA::Host::DocumentController &dc, Ptr ptr) noexcept | |
Constructor. | |
auto & | getDocumentController () const |
Returns the host side DocumentController reference. | |
Ptr | getPluginRef () const |
Returns the plugin side reference to the model object. |
using juce::ARAHostModel::ManagedARAHandle< Base, PtrIn >::Ptr = PtrIn |
|
noexcept |
Constructor.
auto & juce::ARAHostModel::ManagedARAHandle< Base, PtrIn >::getDocumentController | ( | ) | const |
Returns the host side DocumentController reference.
Ptr juce::ARAHostModel::ManagedARAHandle< Base, PtrIn >::getPluginRef | ( | ) | const |
Returns the plugin side reference to the model object.