VCV Rack API v2
|
Go to the source code of this file.
Namespaces | |
namespace | rack |
Root namespace for the Rack API. | |
namespace | rack::plugin |
Loads and manages Rack plugins. | |
Functions | |
PRIVATE void | rack::plugin::init () |
PRIVATE void | rack::plugin::destroy () |
PRIVATE void | rack::plugin::settingsMergeJson (json_t *rootJ) |
Plugin * | rack::plugin::getPlugin (const std::string &pluginSlug) |
Finds a loaded Plugin by slug. | |
Plugin * | rack::plugin::getPluginFallback (const std::string &pluginSlug) |
Finds a loaded Plugin by slug, or a fallback plugin if exists. | |
Model * | rack::plugin::getModel (const std::string &pluginSlug, const std::string &modelSlug) |
Finds a loaded Model by plugin and model slug. | |
Model * | rack::plugin::getModelFallback (const std::string &pluginSlug, const std::string &modelSlug) |
Finds a loaded Model by plugin and model slug, or a fallback model if exists. | |
Model * | rack::plugin::modelFromJson (json_t *moduleJ) |
Creates a Model from a JSON module object. | |
bool | rack::plugin::isSlugValid (const std::string &slug) |
Checks that the slug contains only alphanumeric characters, "-", and "_". | |
std::string | rack::plugin::normalizeSlug (const std::string &slug) |
Returns a string containing only the valid slug characters. | |
Variables | |
std::string | rack::plugin::pluginsPath |
Path to plugins installation dir. | |
std::vector< Plugin * > | rack::plugin::plugins |