Serializable plugin collections.
More...
#include <src/gui/backend/plugin_collections.h>
|
| static std::unique_ptr< PluginCollections > | read_or_new () |
| | Returns a new instance with the cache pre-filled from the cache file, or an empty instance if there is no file or an error occurred.
|
Serializable plugin collections.
Definition at line 91 of file plugin_collections.h.
◆ add()
| void zrythm::gui::old_dsp::plugins::PluginCollections::add |
( |
const PluginCollection & | collection, |
|
|
bool | serialize ) |
Appends a collection.
- Parameters
-
| serialize | Whether to serialize the updated cache now. |
◆ get_document_type()
| std::string zrythm::gui::old_dsp::plugins::PluginCollections::get_document_type |
( |
| ) |
const |
|
inline |
◆ get_format_major_version()
| int zrythm::gui::old_dsp::plugins::PluginCollections::get_format_major_version |
( |
| ) |
const |
|
inline |
◆ get_format_minor_version()
| int zrythm::gui::old_dsp::plugins::PluginCollections::get_format_minor_version |
( |
| ) |
const |
|
inline |
◆ read_or_new()
| std::unique_ptr< PluginCollections > zrythm::gui::old_dsp::plugins::PluginCollections::read_or_new |
( |
| ) |
|
|
static |
Returns a new instance with the cache pre-filled from the cache file, or an empty instance if there is no file or an error occurred.
- Returns
- std::unique_ptr<PluginCollections>
◆ remove()
| void zrythm::gui::old_dsp::plugins::PluginCollections::remove |
( |
PluginCollection & | collection, |
|
|
bool | serialize ) |
Removes the given collection.
- Parameters
-
| serialize | Whether to serialize the updated cache now. |
◆ serialize_to_file()
| void zrythm::gui::old_dsp::plugins::PluginCollections::serialize_to_file |
( |
| ) |
const |
Serializes the cached descriptors to the standard file.
- Exceptions
-
◆ serialize_to_file_no_throw()
| void zrythm::gui::old_dsp::plugins::PluginCollections::serialize_to_file_no_throw |
( |
| ) |
const |
|
inline |
◆ from_json
◆ to_json
◆ collections_
| std::vector<std::unique_ptr<PluginCollection> > zrythm::gui::old_dsp::plugins::PluginCollections::collections_ |
The documentation for this class was generated from the following file: