JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
juce::ARAHostDocumentController Class Referencefinal

Wrapper class for ARA::Host::DocumentController. More...

#include "juce_ARAHosting.h"

Public Member Functions

ARA::Host::DocumentController & getDocumentController () const
 Returns the underlying ARA::Host::DocumentController reference.
 
ARAHostModel::PlugInExtensionInstance bindDocumentToPluginInstance (AudioPluginInstance &instance, ARA::ARAPlugInInstanceRoleFlags knownRoles, ARA::ARAPlugInInstanceRoleFlags assignedRoles)
 Binds the ARAHostDocumentController and its enclosed document to a plugin instance.
 

Static Public Member Functions

static std::unique_ptr< ARAHostDocumentControllercreate (ARAFactoryWrapper factory, const String &documentName, std::unique_ptr< ARA::Host::AudioAccessControllerInterface > audioAccessController, std::unique_ptr< ARA::Host::ArchivingControllerInterface > archivingController, std::unique_ptr< ARA::Host::ContentAccessControllerInterface > contentAccessController=nullptr, std::unique_ptr< ARA::Host::ModelUpdateControllerInterface > modelUpdateController=nullptr, std::unique_ptr< ARA::Host::PlaybackControllerInterface > playbackController=nullptr)
 Factory function.
 

Detailed Description

Wrapper class for ARA::Host::DocumentController.

In order to create an ARAHostDocumentController from an ARAFactoryWrapper you must provide at least two mandatory host side interfaces. You can create these implementations by inheriting from the base classes in the ARA::Host namespace.

@tags{ARA}

Definition at line 720 of file juce_ARAHosting.h.

Member Function Documentation

◆ bindDocumentToPluginInstance()

ARAHostModel::PlugInExtensionInstance juce::ARAHostDocumentController::bindDocumentToPluginInstance ( AudioPluginInstance instance,
ARA::ARAPlugInInstanceRoleFlags  knownRoles,
ARA::ARAPlugInInstanceRoleFlags  assignedRoles 
)

Binds the ARAHostDocumentController and its enclosed document to a plugin instance.

The resulting ARAHostModel::PlugInExtensionInstance is responsible for fulfilling the ARA specific roles of the plugin.

A single DocumentController can be bound to multiple plugin instances, which is a typical practice among hosts.

◆ create()

static std::unique_ptr< ARAHostDocumentController > juce::ARAHostDocumentController::create ( ARAFactoryWrapper  factory,
const String documentName,
std::unique_ptr< ARA::Host::AudioAccessControllerInterface >  audioAccessController,
std::unique_ptr< ARA::Host::ArchivingControllerInterface >  archivingController,
std::unique_ptr< ARA::Host::ContentAccessControllerInterface >  contentAccessController = nullptr,
std::unique_ptr< ARA::Host::ModelUpdateControllerInterface >  modelUpdateController = nullptr,
std::unique_ptr< ARA::Host::PlaybackControllerInterface >  playbackController = nullptr 
)
static

Factory function.

You must check if the returned pointer is valid.


The documentation for this class was generated from the following file: