|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Plugin collection used in the plugin browser. More...
#include <src/gui/backend/plugin_collections.h>
Public Types | |
| using | PluginDescriptor = zrythm::plugins::PluginDescriptor |
Public Member Functions | |
| std::string | get_name () const |
| void | set_name (std::string_view name) |
| void | clear () |
| bool | contains_descriptor (const PluginDescriptor &descr) const |
| Returns whether the collection contains the given descriptor. | |
| void | add_descriptor (const PluginDescriptor &descr) |
| Appends a descriptor to the collection. | |
| void | remove_descriptor (const PluginDescriptor &descr) |
| Removes the descriptor matching the given one from the collection. | |
Data Fields | |
| std::string | name_ |
| Name of the collection. | |
| std::string | description_ |
| Description of the collection (optional). | |
| std::vector< std::unique_ptr< PluginDescriptor > > | descriptors_ |
| Plugin descriptors. | |
Friends | |
| void | init_from (PluginCollection &obj, const PluginCollection &other, utils::ObjectCloneType clone_type) |
| Generates a context menu for the collection. | |
| void | to_json (nlohmann::json &j, const PluginCollection &p) |
| void | from_json (const nlohmann::json &j, PluginCollection &p) |
Plugin collection used in the plugin browser.
Definition at line 24 of file plugin_collections.h.
| using zrythm::gui::old_dsp::plugins::PluginCollection::PluginDescriptor = zrythm::plugins::PluginDescriptor |
Definition at line 27 of file plugin_collections.h.
|
inline |
Definition at line 33 of file plugin_collections.h.
|
inline |
Definition at line 29 of file plugin_collections.h.
|
inline |
Definition at line 31 of file plugin_collections.h.
| std::string zrythm::gui::old_dsp::plugins::PluginCollection::description_ |
Description of the collection (optional).
Definition at line 72 of file plugin_collections.h.
| std::vector<std::unique_ptr<PluginDescriptor> > zrythm::gui::old_dsp::plugins::PluginCollection::descriptors_ |
Plugin descriptors.
Definition at line 75 of file plugin_collections.h.
| std::string zrythm::gui::old_dsp::plugins::PluginCollection::name_ |
Name of the collection.
Definition at line 69 of file plugin_collections.h.