Default Class Factory implementation.
More...
#include <pluginfactoryvst3.h>
|
| | CPluginFactory (const PFactoryInfo &info) |
| |
| virtual | ~CPluginFactory () |
| |
| bool | registerClass (const PClassInfo *info, FUnknown *(*createFunc)(void *), void *context=0) |
| | Registers a Plug-in class with classInfo version 1, returns true for success. More...
|
| |
| bool | registerClass (const PClassInfo2 *info, FUnknown *(*createFunc)(void *), void *context=0) |
| | Registers a Plug-in class with classInfo version 2, returns true for success. More...
|
| |
| bool | registerClass (const PClassInfoW *info, FUnknown *(*createFunc)(void *), void *context=0) |
| | Registers a Plug-in class with classInfo Unicode version, returns true for success. More...
|
| |
| bool | isClassRegistered (const FUID &cid) |
| | Check if a class for a given classId is already registered. More...
|
| |
| DECLARE_FUNKNOWN_METHODS tresult | getFactoryInfo (PFactoryInfo *info) SMTG_OVERRIDE |
| |
| int32 | countClasses () SMTG_OVERRIDE |
| |
| tresult | getClassInfo (int32 index, PClassInfo *info) SMTG_OVERRIDE |
| |
| tresult | createInstance (FIDString cid, FIDString _iid, void **obj) SMTG_OVERRIDE |
| |
| tresult | getClassInfo2 (int32 index, PClassInfo2 *info) SMTG_OVERRIDE |
| |
| tresult | getClassInfoUnicode (int32 index, PClassInfoW *info) SMTG_OVERRIDE |
| |
| tresult | setHostContext (FUnknown *context) SMTG_OVERRIDE |
| |
| virtual tresult | queryInterface (const TUID _iid, void **obj)=0 |
| |
| virtual uint32 | addRef ()=0 |
| |
| virtual uint32 | release ()=0 |
| |
Default Class Factory implementation.
- See also
- Macros for defining the class factory
| bool registerClass |
( |
const PClassInfo * |
info, |
|
|
FUnknown *(*)(void *) |
createFunc, |
|
|
void * |
context = 0 |
|
) |
| |
Registers a Plug-in class with classInfo version 1, returns true for success.
| bool registerClass |
( |
const PClassInfo2 * |
info, |
|
|
FUnknown *(*)(void *) |
createFunc, |
|
|
void * |
context = 0 |
|
) |
| |
Registers a Plug-in class with classInfo version 2, returns true for success.
| bool registerClass |
( |
const PClassInfoW * |
info, |
|
|
FUnknown *(*)(void *) |
createFunc, |
|
|
void * |
context = 0 |
|
) |
| |
Registers a Plug-in class with classInfo Unicode version, returns true for success.
| bool isClassRegistered |
( |
const FUID & |
cid | ) |
|
Check if a class for a given classId is already registered.