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 Attributes | List of all members
Steinberg::Vst::IPlugInterfaceSupport Class Referenceabstract

Host callback interface for an edit controller: Vst::IPlugInterfaceSupport. More...

#include "ivstpluginterfacesupport.h"

Inheritance diagram for Steinberg::Vst::IPlugInterfaceSupport:
Steinberg::FUnknown Steinberg::Vst::PlugInterfaceSupport

Public Member Functions

virtual tresult PLUGIN_API isPlugInterfaceSupported (const TUID _iid)=0
 Returns kResultTrue if the associated interface to the given _iid is supported/used by the host.
 
- Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
 Query for a pointer to the specified interface.
 
virtual uint32 PLUGIN_API addRef ()=0
 Adds a reference and returns the new reference count.
 
virtual uint32 PLUGIN_API release ()=0
 Releases a reference and returns the new reference count.
 

Static Public Attributes

static const FUID iid
 
- Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid
 

Detailed Description

Host callback interface for an edit controller: Vst::IPlugInterfaceSupport.

Allows a plug-in to ask the host if a given plug-in interface is supported/used by the host. It is implemented by the hostContext given when the component is initialized.

Example

//------------------------------------------------------------------------
tresult PLUGIN_API MyPluginController::initialize (FUnknown* context)
{
// ...
FUnknownPtr<IPlugInterfaceSupport> plugInterfaceSupport (context);
if (plugInterfaceSupport)
{
if (plugInterfaceSupport->isPlugInterfaceSupported (IMidiMapping::iid) == kResultTrue)
// IMidiMapping is used by the host
}
// ...
}
FUnknownPtr - automatic interface conversion and smart pointer in one.
Definition funknown.h:417
The basic interface of all interfaces.
Definition funknown.h:375
See also
IPluginBase

Definition at line 53 of file ivstpluginterfacesupport.h.

Member Function Documentation

◆ isPlugInterfaceSupported()

virtual tresult PLUGIN_API Steinberg::Vst::IPlugInterfaceSupport::isPlugInterfaceSupported ( const TUID  _iid)
pure virtual

Returns kResultTrue if the associated interface to the given _iid is supported/used by the host.

Implemented in Steinberg::Vst::PlugInterfaceSupport.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IPlugInterfaceSupport::iid
static

Definition at line 60 of file ivstpluginterfacesupport.h.


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