This class is used by the various ARA model object helper classes, such as MusicalContext, AudioSource etc. More...
#include <juce_ARAHosting.h>
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. | |
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.
using ARAHostModel::ManagedARAHandle< Base, PtrIn >::Ptr = PtrIn |
|
noexcept |
Constructor.
auto & ARAHostModel::ManagedARAHandle< Base, PtrIn >::getDocumentController | ( | ) | const |
Returns the host side DocumentController reference.
Ptr ARAHostModel::ManagedARAHandle< Base, PtrIn >::getPluginRef | ( | ) | const |
Returns the plugin side reference to the model object.