VST 3 SDK VST 3.7
SDK for developing VST plug-in
|
Helper for creating and initializing component. More...
#include <plugprovider.h>
Public Types | |
using | ClassInfo = VST3::Hosting::ClassInfo |
using | PluginFactory = VST3::Hosting::PluginFactory |
Public Member Functions | |
PlugProvider (const PluginFactory &factory, ClassInfo info, bool plugIsGlobal=true) | |
~PlugProvider () override | |
bool | initialize () |
IPtr< IComponent > | getComponentPtr () const |
IPtr< IEditController > | getControllerPtr () const |
const ClassInfo & | getClassInfo () const |
IComponent * | getComponent () SMTG_OVERRIDE |
IEditController * | getController () SMTG_OVERRIDE |
tresult | releasePlugIn (IComponent *component, IEditController *controller) SMTG_OVERRIDE |
tresult | getSubCategories (IStringResult &result) const SMTG_OVERRIDE |
tresult | getComponentUID (FUID &uid) const SMTG_OVERRIDE |
IPluginFactory * | getPluginFactory () SMTG_OVERRIDE |
Static Public Member Functions | |
static void | setErrorStream (std::ostream *stream) |
Protected Member Functions | |
bool | setupPlugin (FUnknown *hostContext) |
bool | connectComponents () |
bool | disconnectComponents () |
void | terminatePlugin () |
template<typename Proc > | |
void | printError (Proc p) const |
Protected Attributes | |
PluginFactory | factory |
IPtr< IComponent > | component |
IPtr< IEditController > | controller |
ClassInfo | classInfo |
IPtr< ConnectionProxy > | componentCP |
IPtr< ConnectionProxy > | controllerCP |
bool | plugIsGlobal |
Helper for creating and initializing component.
using ClassInfo = VST3::Hosting::ClassInfo |
PlugProvider | ( | const PluginFactory & | factory, |
ClassInfo | info, | ||
bool | plugIsGlobal = true |
||
) |
|
override |
bool initialize | ( | ) |
|
inline |
|
inline |
|
inline |
IComponent * getComponent | ( | ) |
IEditController * getController | ( | ) |
tresult releasePlugIn | ( | IComponent * | component, |
IEditController * | controller | ||
) |
|
inline |
IPluginFactory * getPluginFactory | ( | ) |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |