Type information for a module.
More...
#include <Model.hpp>
|
Plugin * | plugin = NULL |
|
std::string | slug |
| Must be unique.
|
|
std::string | name |
| Human readable name for your model, e.g.
|
|
std::list< int > | tagIds |
| List of tag IDs representing the function(s) of the module.
|
|
std::string | description |
| A one-line summary of the module's purpose.
|
|
std::string | manualUrl |
| The manual of the module.
|
|
std::string | modularGridUrl |
|
bool | hidden = false |
| Hides model from the Module Browser but able to be loaded from a patch file.
|
|
Type information for a module.
Factory for Module and ModuleWidget.
◆ ~Model()
virtual rack::plugin::Model::~Model |
( |
| ) |
|
|
inlinevirtual |
◆ createModule()
◆ createModuleWidget()
◆ fromJson()
void rack::plugin::Model::fromJson |
( |
json_t * | rootJ | ) |
|
◆ getFullName()
std::string rack::plugin::Model::getFullName |
( |
| ) |
|
Returns the branded name of the model, e.g.
VCV VCO-1.
◆ getFactoryPresetDirectory()
std::string rack::plugin::Model::getFactoryPresetDirectory |
( |
| ) |
|
◆ getUserPresetDirectory()
std::string rack::plugin::Model::getUserPresetDirectory |
( |
| ) |
|
◆ getManualUrl()
std::string rack::plugin::Model::getManualUrl |
( |
| ) |
|
Returns the module or plugin manual URL, whichever exists.
◆ appendContextMenu()
void rack::plugin::Model::appendContextMenu |
( |
ui::Menu * | menu, |
|
|
bool | inBrowser = false ) |
Appends items to menu with useful Model information.
Enable inBrowser
to show Module Browser key commands.
◆ isFavorite()
bool rack::plugin::Model::isFavorite |
( |
| ) |
|
◆ setFavorite()
void rack::plugin::Model::setFavorite |
( |
bool | favorite | ) |
|
◆ plugin
Plugin* rack::plugin::Model::plugin = NULL |
◆ slug
std::string rack::plugin::Model::slug |
Must be unique.
Used for saving patches. Never change this after releasing your module. The model slug must be unique within your plugin, but it doesn't need to be unique among different plugins.
◆ name
std::string rack::plugin::Model::name |
Human readable name for your model, e.g.
"Voltage Controlled Oscillator"
◆ tagIds
std::list<int> rack::plugin::Model::tagIds |
List of tag IDs representing the function(s) of the module.
Tag IDs are not part of the ABI and may change at any time.
◆ description
std::string rack::plugin::Model::description |
A one-line summary of the module's purpose.
◆ manualUrl
std::string rack::plugin::Model::manualUrl |
The manual of the module.
HTML, PDF, or GitHub readme/wiki are fine.
◆ modularGridUrl
std::string rack::plugin::Model::modularGridUrl |
◆ hidden
bool rack::plugin::Model::hidden = false |
Hides model from the Module Browser but able to be loaded from a patch file.
Useful for deprecating modules without breaking old patches.
The documentation for this struct was generated from the following file:
- /home/vortico/src/vcv/Rack2/include/plugin/Model.hpp