|
|
static std::unique_ptr< PluginConfigurationManager > | read_or_new () |
| | Reads the file and fills up the object, or creates an empty object if the file could not be read.
|
◆ PluginConfiguration
◆ activate_plugin_configuration()
| void PluginConfigurationManager::activate_plugin_configuration |
( |
const PluginConfiguration & | config, |
|
|
bool | autoroute_multiout, |
|
|
bool | has_stereo_outputs ) |
Creates necessary tracks at the end of the tracklist.
- Parameters
-
| config | |
| autoroute_multiout | |
| has_stereo_outputs | |
This creates and performs undoable actions.
TODO: maybe move this to a PluginInstantiator/PluginFactory class?
◆ create_configuration_for_descriptor()
| std::unique_ptr< PluginConfiguration > PluginConfigurationManager::create_configuration_for_descriptor |
( |
const plugins::PluginDescriptor & | descr | ) |
|
Creates a configuration for the given descriptor based on an existing configuration if it exists, or otherwise creates a default configuration for the descriptor.
- Parameters
-
- Returns
- std::unique_ptr<PluginConfiguration>
◆ find()
Finds a setting for the given plugin descriptor.
- Returns
- The found setting or NULL.
◆ get_document_type()
| std::string PluginConfigurationManager::get_document_type |
( |
| ) |
const |
|
inline |
◆ get_format_major_version()
| int PluginConfigurationManager::get_format_major_version |
( |
| ) |
const |
|
inline |
◆ get_format_minor_version()
| int PluginConfigurationManager::get_format_minor_version |
( |
| ) |
const |
|
inline |
◆ increment_num_instantiations_for_plugin()
- Note
- This also serializes all plugin settings.
◆ serialize_to_file()
| void PluginConfigurationManager::serialize_to_file |
( |
| ) |
|
Serializes the current settings.
- Exceptions
-
◆ serialize_to_file_no_throw()
| void PluginConfigurationManager::serialize_to_file_no_throw |
( |
| ) |
|
|
inline |
◆ set()
| void PluginConfigurationManager::set |
( |
const PluginConfiguration & | setting, |
|
|
bool | serialize ) |
Replaces a setting or appends a setting to the cache.
This clones the setting before adding it.
- Parameters
-
| serialize | Whether to serialize the updated cache now. |
◆ from_json
◆ to_json
The documentation for this class was generated from the following file: