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::IComponent Class Referenceabstract

Component base interface: Vst::IComponent. More...

#include "ivstcomponent.h"

Inheritance diagram for Steinberg::Vst::IComponent:
Steinberg::IPluginBase Steinberg::FUnknown Steinberg::Vst::Component

Public Member Functions

virtual tresult PLUGIN_API getControllerClassId (TUID classId)=0
 Called before initializing the component to get information about the controller class.
 
virtual tresult PLUGIN_API setIoMode (IoMode mode)=0
 Called before 'initialize' to set the component usage (optional).
 
virtual int32 PLUGIN_API getBusCount (MediaType type, BusDirection dir)=0
 Called after the plug-in is initialized.
 
virtual tresult PLUGIN_API getBusInfo (MediaType type, BusDirection dir, int32 index, BusInfo &bus)=0
 Called after the plug-in is initialized.
 
virtual tresult PLUGIN_API getRoutingInfo (RoutingInfo &inInfo, RoutingInfo &outInfo)=0
 Retrieves routing information (to be implemented when more than one regular input or output bus exists).
 
virtual tresult PLUGIN_API activateBus (MediaType type, BusDirection dir, int32 index, TBool state)=0
 Called upon (de-)activating a bus in the host application.
 
virtual tresult PLUGIN_API setActive (TBool state)=0
 Activates / deactivates the component.
 
virtual tresult PLUGIN_API setState (IBStream *state)=0
 Sets complete state of component.
 
virtual tresult PLUGIN_API getState (IBStream *state)=0
 Retrieves complete state of component.
 
- Public Member Functions inherited from Steinberg::IPluginBase
virtual tresult PLUGIN_API initialize (FUnknown *context)=0
 The host passes a number of interfaces as context to initialize the plug-in class.
 
virtual tresult PLUGIN_API terminate ()=0
 This function is called before the plug-in is unloaded and can be used for cleanups.
 
- 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::IPluginBase
static const FUID iid
 
- Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid
 

Detailed Description

Component base interface: Vst::IComponent.

This is the basic interface for a VST component and must always be supported. It contains the common parts of any kind of processing class. The parts that are specific to a media type are defined in a separate interface. An implementation component must provide both the specific interface and IComponent.

See also
IPluginBase

Definition at line 157 of file ivstcomponent.h.

Member Function Documentation

◆ activateBus()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::activateBus ( MediaType  type,
BusDirection  dir,
int32  index,
TBool  state 
)
pure virtual

Called upon (de-)activating a bus in the host application.

The plug-in should only processed an activated bus, the host could provide less see AudioBusBuffers in the process call (see IAudioProcessor::process) if last busses are not activated. An already activated bus does not need to be reactivated after a IAudioProcessor::setBusArrangements call.

Implemented in Steinberg::Vst::Component.

◆ getBusCount()

virtual int32 PLUGIN_API Steinberg::Vst::IComponent::getBusCount ( MediaType  type,
BusDirection  dir 
)
pure virtual

Called after the plug-in is initialized.

See MediaTypes, BusDirections

Implemented in Steinberg::Vst::Component.

◆ getBusInfo()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::getBusInfo ( MediaType  type,
BusDirection  dir,
int32  index,
BusInfo bus 
)
pure virtual

Called after the plug-in is initialized.

See MediaTypes, BusDirections

Implemented in Steinberg::Vst::Component.

◆ getControllerClassId()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::getControllerClassId ( TUID  classId)
pure virtual

Called before initializing the component to get information about the controller class.

Implemented in Steinberg::Vst::Component.

◆ getRoutingInfo()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::getRoutingInfo ( RoutingInfo inInfo,
RoutingInfo outInfo 
)
pure virtual

Retrieves routing information (to be implemented when more than one regular input or output bus exists).

The inInfo always refers to an input bus while the returned outInfo must refer to an output bus!

Implemented in Steinberg::Vst::Component.

◆ getState()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::getState ( IBStream state)
pure virtual

Retrieves complete state of component.

Implemented in Steinberg::Vst::Component.

◆ setActive()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::setActive ( TBool  state)
pure virtual

Activates / deactivates the component.

Implemented in Steinberg::Vst::Component.

◆ setIoMode()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::setIoMode ( IoMode  mode)
pure virtual

Called before 'initialize' to set the component usage (optional).

See IoModes

Implemented in Steinberg::Vst::Component.

◆ setState()

virtual tresult PLUGIN_API Steinberg::Vst::IComponent::setState ( IBStream state)
pure virtual

Sets complete state of component.

Implemented in Steinberg::Vst::Component.

Member Data Documentation

◆ iid

const FUID Steinberg::Vst::IComponent::iid
static

Definition at line 194 of file ivstcomponent.h.


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