Audacity 3.2.0
|
#include <ExportPluginRegistry.h>
Classes | |
class | ConstIterator |
struct | ExportPluginRegistryItem |
struct | RegisteredPlugin |
struct | Traits |
Public Types | |
using | ExportPlugins = std::vector< std::unique_ptr< ExportPlugin > > |
using | Factory = std::function< std::unique_ptr< ExportPlugin >() > |
Public Member Functions | |
ExportPluginRegistry (ExportPluginRegistry &)=delete | |
ExportPluginRegistry (ExportPluginRegistry &&)=delete | |
~ExportPluginRegistry () | |
void | Initialize () |
ConstIterator | cbegin () const noexcept |
ConstIterator | cend () const noexcept |
ConstIterator | begin () const noexcept |
ConstIterator | end () const noexcept |
std::tuple< ExportPlugin *, int > | FindFormat (const wxString &format, bool compareWithCase=false) const |
Returns first pair of [exportPlugin, formatIndex], such that: exportPlugin->GetFormatInfo(formatIndex).format == format More... | |
Static Public Member Functions | |
static ExportPluginRegistry & | Get () |
Public Attributes | |
std::vector< bool >::const_iterator | a |
Private Member Functions | |
ExportPluginRegistry () | |
Private Attributes | |
ExportPlugins | mPlugins |
Definition at line 13 of file ExportPluginRegistry.h.
using ExportPluginRegistry::ExportPlugins = std::vector<std::unique_ptr<ExportPlugin> > |
Definition at line 23 of file ExportPluginRegistry.h.
using ExportPluginRegistry::Factory = std::function< std::unique_ptr< ExportPlugin >() > |
Definition at line 72 of file ExportPluginRegistry.h.
|
privatedefault |
|
delete |
|
delete |
|
default |
|
inlinenoexcept |
Definition at line 100 of file ExportPluginRegistry.h.
|
inlinenoexcept |
Definition at line 98 of file ExportPluginRegistry.h.
|
inlinenoexcept |
Definition at line 99 of file ExportPluginRegistry.h.
|
inlinenoexcept |
Definition at line 101 of file ExportPluginRegistry.h.
std::tuple< ExportPlugin *, int > ExportPluginRegistry::FindFormat | ( | const wxString & | format, |
bool | compareWithCase = false |
||
) | const |
Returns first pair of [exportPlugin, formatIndex], such that: exportPlugin->GetFormatInfo(formatIndex).format == format
Definition at line 72 of file ExportPluginRegistry.cpp.
References anonymous_namespace{ExportPCM.cpp}::format.
Referenced by ExportCommand::Apply(), anonymous_namespace{FileMenus.cpp}::DoExport(), and TimerRecordDialog::ExecutePostRecordActions().
|
static |
Definition at line 48 of file ExportPluginRegistry.cpp.
Referenced by ExportCommand::Apply(), ExportFilePanel::ChangeFormat(), anonymous_namespace{FileMenus.cpp}::DoExport(), TimerRecordDialog::ExecutePostRecordActions(), audacity::cloud::audiocom::sync::MixdownUploader::ExportProject(), audacity::cloud::audiocom::ShareAudioDialog::ExportProject(), ExportFilePanel::Init(), AudacityApp::InitPart2(), ExportFilePanel::OnFolderBrowse(), and ExportFilePanel::PopulateOrExchange().
void ExportPluginRegistry::Initialize | ( | ) |
Definition at line 54 of file ExportPluginRegistry.cpp.
References ExportPluginRegistry::ExportPluginRegistryItem::mFactory, mPlugins, anonymous_namespace{ExportPluginRegistry.cpp}::PathStart, ExportPluginRegistry::ExportPluginRegistryItem::Registry(), Registry::Visit(), and wxT().
Referenced by AudacityApp::InitPart2().
std::vector<bool>::const_iterator ExportPluginRegistry::a |
Definition at line 21 of file ExportPluginRegistry.h.
|
private |
Definition at line 119 of file ExportPluginRegistry.h.
Referenced by Initialize().