Audacity 3.2.0
Classes | Namespaces | Typedefs | Enumerations | Functions
PluginInterface.h File Reference
#include "EffectInterface.h"
#include "ComponentInterface.h"
#include "Identifier.h"
#include "PluginProvider.h"
#include "TypeListVisitor.h"
#include <variant>
Include dependency graph for PluginInterface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PluginManagerInterface
 

Namespaces

namespace  PluginSettings
 

Typedefs

using PluginSettings::ConfigValueTypes = TypeList::List< wxString, int, bool, float, double >
 Supported types for settings. More...
 
using PluginSettings::ConfigReference = TypeListVisitor::VariantOfReferences_t< false, ConfigValueTypes >
 Define a reference to a variable of one of the types in ConfigValueTypes. More...
 
using PluginSettings::ConfigConstReference = TypeListVisitor::VariantOfReferences_t< true, ConfigValueTypes >
 
using PluginRegistryVersion = wxString
 Type of plugin registry version information. More...
 

Enumerations

enum  PluginSettings::ConfigurationType : unsigned { PluginSettings::Shared , PluginSettings::Private }
 

Functions

MODULE_MANAGER_API bool Regver_eq (const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)
 
MODULE_MANAGER_API bool Regver_lt (const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)
 
bool Regver_le (const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)
 

Typedef Documentation

◆ PluginRegistryVersion

using PluginRegistryVersion = wxString

Type of plugin registry version information.

Definition at line 78 of file PluginInterface.h.

Function Documentation

◆ Regver_eq()

MODULE_MANAGER_API bool Regver_eq ( const PluginRegistryVersion regver1,
const PluginRegistryVersion regver2 
)

Definition at line 28 of file PluginInterface.cpp.

30{
31 auto numbers1 = Split(regver1)
32 , numbers2 = Split(regver2);
33 return std::equal(
34 regver1.begin(), regver1.end(), regver2.begin(), regver2.end());
35}
std::vector< long > Split(const PluginRegistryVersion &regver)

References anonymous_namespace{PluginInterface.cpp}::Split().

Referenced by BuiltinEffectsModule::AutoRegisterPlugins().

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

◆ Regver_le()

bool Regver_le ( const PluginRegistryVersion regver1,
const PluginRegistryVersion regver2 
)
inline

Definition at line 90 of file PluginInterface.h.

92{
93 return !Regver_lt(regver2, regver1);
94}
MODULE_MANAGER_API bool Regver_lt(const PluginRegistryVersion &regver1, const PluginRegistryVersion &regver2)

References Regver_lt().

Referenced by PluginManager::Load().

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

◆ Regver_lt()

MODULE_MANAGER_API bool Regver_lt ( const PluginRegistryVersion regver1,
const PluginRegistryVersion regver2 
)

Definition at line 37 of file PluginInterface.cpp.

39{
40 auto numbers1 = Split(regver1)
41 , numbers2 = Split(regver2);
42 return std::lexicographical_compare(
43 regver1.begin(), regver1.end(), regver2.begin(), regver2.end());
44}

References anonymous_namespace{PluginInterface.cpp}::Split().

Referenced by PluginManager::Load(), and Regver_le().

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