Audacity 3.2.0
Classes | Namespaces | Enumerations | Functions
EffectManager.cpp File Reference
#include "EffectManager.h"
#include "Effect.h"
#include <algorithm>
#include "AudacityMessageBox.h"
#include "ConfigInterface.h"
#include "../ShuttleGetDefinition.h"
#include "CommandContext.h"
#include "../commands/AudacityCommand.h"
#include "PluginManager.h"
#include "Track.h"
#include <wx/choice.h>
#include <wx/listbox.h>
#include "ShuttleGui.h"
Include dependency graph for EffectManager.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog
 

Namespaces

namespace  anonymous_namespace{EffectManager.cpp}
 

Enumerations

enum  { anonymous_namespace{EffectManager.cpp}::ID_Type = 10000 }
 

Functions

static bool HasCurrentSettings (EffectPlugin &host)
 
static bool HasFactoryDefaults (EffectPlugin &host)
 
static RegistryPaths GetUserPresets (EffectPlugin &host)
 
void anonymous_namespace{EffectManager.cpp}::InitializePreset (EffectSettingsManager &manager, EffectSettings &settings)
 
std::pair< ComponentInterface *, EffectSettingsanonymous_namespace{EffectManager.cpp}::LoadComponent (const PluginID &ID)
 

Function Documentation

◆ GetUserPresets()

static RegistryPaths GetUserPresets ( EffectPlugin host)
static

Definition at line 384 of file EffectManager.cpp.

385{
386 RegistryPaths presets;
388 UserPresetsGroup({}), presets);
389 std::sort( presets.begin(), presets.end() );
390 return presets;
391}
RegistryPath UserPresetsGroup(const RegistryPath &name)
Compute part of a registry path, given a name which may be empty.
std::vector< RegistryPath > RegistryPaths
Definition: Identifier.h:219
virtual const EffectSettingsManager & GetDefinition() const =0
bool GetConfigSubgroups(const EffectDefinitionInterface &ident, PluginSettings::ConfigurationType type, const RegistryPath &group, RegistryPaths &subgroups)

References PluginSettings::GetConfigSubgroups(), EffectPlugin::GetDefinition(), PluginSettings::Private, and UserPresetsGroup().

Referenced by anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog::EffectPresetsDialog(), and EffectManager::HasPresets().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasCurrentSettings()

static bool HasCurrentSettings ( EffectPlugin host)
static

Definition at line 372 of file EffectManager.cpp.

373{
376}
const RegistryPath & CurrentSettingsGroup()
Component of a configuration key path, for last-used destructive settings.
bool HasConfigGroup(const EffectDefinitionInterface &ident, PluginSettings::ConfigurationType type, const RegistryPath &group)

References CurrentSettingsGroup(), EffectPlugin::GetDefinition(), PluginSettings::HasConfigGroup(), and PluginSettings::Private.

Referenced by anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog::EffectPresetsDialog(), EffectManager::GetDefaultPreset(), and EffectManager::HasPresets().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasFactoryDefaults()

static bool HasFactoryDefaults ( EffectPlugin host)
static

Definition at line 378 of file EffectManager.cpp.

379{
382}
const RegistryPath & FactoryDefaultsGroup()
Component of a configuration key path, for default state of MakeSettings()

References FactoryDefaultsGroup(), EffectPlugin::GetDefinition(), PluginSettings::HasConfigGroup(), and PluginSettings::Private.

Referenced by anonymous_namespace{EffectManager.cpp}::EffectPresetsDialog::EffectPresetsDialog(), EffectManager::GetDefaultPreset(), and EffectManager::HasPresets().

Here is the call graph for this function:
Here is the caller graph for this function: