ASPiK SDK
|
The GUIPluginConnector interface creates a safe message mechanism for the GUI to issue requests to the plugin shell. The following messages are processed via functions: More...
#include <vst3plugin.h>
Public Member Functions | |
GUIPluginConnector (PluginCore *_pluginCore, VST3Plugin *_editController) | |
virtual | ~GUIPluginConnector () |
virtual void | parameterChanged (int32_t controlID, double actualValue, double normalizedValue) |
virtual double | getNormalizedPluginParameter (int32_t controlID) |
virtual double | getActualPluginParameter (int32_t controlID) |
virtual bool | registerSubcontroller (std::string subcontrollerName, ICustomView *customViewConnector) |
virtual bool | deRregisterSubcontroller (ICustomView *customViewConnector) |
virtual bool | registerCustomView (std::string customViewName, ICustomView *customViewConnector) |
virtual bool | deRegisterCustomView (ICustomView *customViewConnector) |
virtual bool | guiDidOpen () |
virtual bool | guiWillClose () |
virtual bool | guiTimerPing () |
virtual bool | checkNonBoundValueChange (int tag, float normalizedValue) |
GUIPluginConnector (PluginCore *_pluginCore, VST3Plugin *_editController) | |
virtual | ~GUIPluginConnector () |
virtual void | parameterChanged (int32_t controlID, double actualValue, double normalizedValue) |
virtual double | getNormalizedPluginParameter (int32_t controlID) |
virtual bool | registerSubcontroller (std::string subcontrollerName, ICustomView *customViewConnector) |
virtual bool | deRregisterSubcontroller (ICustomView *customViewConnector) |
virtual bool | registerCustomView (std::string customViewName, ICustomView *customViewConnector) |
virtual bool | deRegisterCustomView (ICustomView *customViewConnector) |
virtual bool | guiDidOpen () |
virtual bool | guiWillClose () |
virtual bool | guiTimerPing () |
virtual bool | checkNonBoundValueChange (int tag, float normalizedValue) |
![]() | |
virtual uint32_t | getNonBoundVariableCount () |
virtual uint32_t | getNextNonBoundVariableTag (int startTag) |
virtual void | checkSendUpdateGUI (int tag, float actualValue, bool loadingPreset, void *data1=0, void *data2=0) |
virtual void | setNormalizedPluginParameter (int32_t controlID, double value) |
virtual void | setActualPluginParameter (int32_t controlID, double value) |
virtual void | beginParameterChangeGesture (int controlTag) |
virtual void | endParameterChangeGesture (int controlTag) |
virtual uint32_t | getNonBoundVariableCount () |
virtual uint32_t | getNextNonBoundVariableTag (int startTag) |
virtual void | checkSendUpdateGUI (int tag, float actualValue, bool loadingPreset, void *data1=0, void *data2=0) |
virtual void | setNormalizedPluginParameter (int32_t controlID, double value) |
virtual void | setActualPluginParameter (int32_t controlID, double value) |
virtual void | beginParameterChangeGesture (int controlTag) |
virtual void | endParameterChangeGesture (int controlTag) |
Protected Types | |
typedef std::map< std::string, CustomViewController * > | customViewControllerMap |
map of custom view controllers | |
typedef std::map< std::string, CustomViewController * > | customViewControllerMap |
map of custom view controllers | |
Protected Member Functions | |
CustomViewController * | getCustomViewController (ICustomView *customViewConnector) |
CustomViewController * | getCustomSubController (ICustomView *customViewConnector) |
CustomViewController * | getCustomViewController (ICustomView *customViewConnector) |
CustomViewController * | getCustomSubController (ICustomView *customViewConnector) |
Protected Attributes | |
PluginCore * | pluginCore = nullptr |
the core object | |
VST3Plugin * | editController = nullptr |
the VST3 | |
customViewControllerMap | customViewMap |
customViewControllerMap | customSubControllerMap |
map of custom sub-controllers | |
The GUIPluginConnector interface creates a safe message mechanism for the GUI to issue requests to the plugin shell. The following messages are processed via functions:
|
inline |
construct with two pointers
|
inlinevirtual |
destroy subcontroller and custom view container objects
|
inline |
construct with two pointers
|
inlinevirtual |
destroy subcontroller and custom view container objects
|
inlinevirtual |
send message to core: a non-bound variable has changed (NOT implemented or needed, but may be added for your own customization)
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
send message to core: a non-bound variable has changed (NOT implemented or needed, but may be added for your own customization)
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
remove custom view's ICustomView and send message to core
Implements IGUIPluginConnector.
|
inlinevirtual |
remove custom view's ICustomView and send message to core
Implements IGUIPluginConnector.
|
inlinevirtual |
remove sub-controller's ICustomView and send message to core
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
remove sub-controller's ICustomView and send message to core
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
get plugin parameter as actual value
Reimplemented from IGUIPluginConnector.
|
inlineprotected |
get a sub-controller controller object (internal use only)
|
inlineprotected |
get a sub-controller controller object (internal use only)
|
inlineprotected |
get a custom view controller object (internal use only)
|
inlineprotected |
get a custom view controller object (internal use only)
|
inlinevirtual |
get VST parameter in normalized form
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
get VST parameter in normalized form
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
send message to core: GUI has been opened and all VISIBLE controls are active
Implements IGUIPluginConnector.
|
inlinevirtual |
send message to core: GUI has been opened and all VISIBLE controls are active
Implements IGUIPluginConnector.
|
inlinevirtual |
send message to core: repaint timer
Implements IGUIPluginConnector.
|
inlinevirtual |
send message to core: repaint timer
Implements IGUIPluginConnector.
|
inlinevirtual |
send message to core: GUI will close; all controls active but will vanish
Implements IGUIPluginConnector.
|
inlinevirtual |
send message to core: GUI will close; all controls active but will vanish
Implements IGUIPluginConnector.
|
inlinevirtual |
inform core that parameter has changed (NOT to be used to alter plugin states!)
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
inform core that parameter has changed (NOT to be used to alter plugin states!)
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
store custom view's ICustomView and send message to core
Implements IGUIPluginConnector.
|
inlinevirtual |
store custom view's ICustomView and send message to core
Implements IGUIPluginConnector.
|
inlinevirtual |
store sub-controller's ICustomView and send message to core
Reimplemented from IGUIPluginConnector.
|
inlinevirtual |
store sub-controller's ICustomView and send message to core
Reimplemented from IGUIPluginConnector.