JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ExtensionsVisitor Struct Reference

Create a derived implementation of this class and pass it to AudioPluginInstance::getExtensions() to retrieve format-specific information about a plugin instance. More...

#include <juce_ExtensionsVisitor.h>

Classes

struct  AudioUnitClient
 Can be used to retrieve information about an AudioUnit that is wrapped by an AudioProcessor. More...
 
struct  Unknown
 Indicates that there is no platform specific information available. More...
 
struct  VST3Client
 Can be used to retrieve information about a VST3 that is wrapped by an AudioProcessor. More...
 
struct  VSTClient
 Can be used to retrieve information about a VST that is wrapped by an AudioProcessor. More...
 

Public Member Functions

virtual ~ExtensionsVisitor ()=default
 
virtual void visitAudioUnitClient (const AudioUnitClient &)
 Called with AU-specific information. More...
 
virtual void visitUnknown (const Unknown &)
 Will be called if there is no platform specific information available. More...
 
virtual void visitVST3Client (const VST3Client &)
 Called with VST3-specific information. More...
 
virtual void visitVSTClient (const VSTClient &)
 Called with VST-specific information. More...
 

Detailed Description

Create a derived implementation of this class and pass it to AudioPluginInstance::getExtensions() to retrieve format-specific information about a plugin instance.

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! If you need to store and reuse format-specific information, it is recommended to copy the result of the function calls that you care about. For example, you should store the result of VST::getAEffectPtr() rather than storing a pointer to the VST instance.

@tags{Audio}

Constructor & Destructor Documentation

◆ ~ExtensionsVisitor()

virtual juce::ExtensionsVisitor::~ExtensionsVisitor ( )
virtualdefault

Member Function Documentation

◆ visitAudioUnitClient()

virtual void juce::ExtensionsVisitor::visitAudioUnitClient ( const AudioUnitClient )
inlinevirtual

Called with AU-specific information.

◆ visitUnknown()

virtual void juce::ExtensionsVisitor::visitUnknown ( const Unknown )
inlinevirtual

Will be called if there is no platform specific information available.

◆ visitVST3Client()

virtual void juce::ExtensionsVisitor::visitVST3Client ( const VST3Client )
inlinevirtual

Called with VST3-specific information.

◆ visitVSTClient()

virtual void juce::ExtensionsVisitor::visitVSTClient ( const VSTClient )
inlinevirtual

Called with VST-specific information.


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