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

Class factory that any plug-in defines for creating class instances: IPluginFactory. More...

#include "ipluginbase.h"

Inheritance diagram for Steinberg::IPluginFactory:
Steinberg::FUnknown Steinberg::IPluginFactory2 Steinberg::IPluginFactory3

Public Member Functions

virtual tresult PLUGIN_API getFactoryInfo (PFactoryInfo *info)=0
 Fill a PFactoryInfo structure with information about the plug-in vendor.
 
virtual int32 PLUGIN_API countClasses ()=0
 Returns the number of exported classes by this factory.
 
virtual tresult PLUGIN_API getClassInfo (int32 index, PClassInfo *info)=0
 Fill a PClassInfo structure with information about the class at the specified index.
 
virtual tresult PLUGIN_API createInstance (FIDString cid, FIDString _iid, void **obj)=0
 Create a new class instance.
 
- 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

Class factory that any plug-in defines for creating class instances: IPluginFactory.

From the host's point of view a plug-in module is a factory which can create a certain kind of object(s). The interface IPluginFactory provides methods to get information about the classes exported by the plug-in and a mechanism to create instances of these classes (that usually define the IPluginBase interface).

An implementation is provided in public.sdk/source/common/pluginfactory.cpp

See also
GetPluginFactory

Definition at line 192 of file ipluginbase.h.

Member Function Documentation

◆ countClasses()

virtual int32 PLUGIN_API Steinberg::IPluginFactory::countClasses ( )
pure virtual

Returns the number of exported classes by this factory.

If you are using the CPluginFactory implementation provided by the SDK, it returns the number of classes you registered with CPluginFactory::registerClass.

Member Data Documentation

◆ iid

const FUID Steinberg::IPluginFactory::iid
static

Definition at line 211 of file ipluginbase.h.


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