Audacity  2.2.0
ModuleManager Class Referencefinal

#include <ModuleManager.h>

Inheritance diagram for ModuleManager:

Public Member Functions

void RegisterModule (ModuleInterface *module) override
 
void Initialize (CommandHandler &cmdHandler)
 
int Dispatch (ModuleDispatchTypes type)
 
bool DiscoverProviders ()
 
void FindAllPlugins (PluginIDList &providers, wxArrayString &paths)
 
wxArrayString FindPluginsForProvider (const PluginID &provider, const wxString &path)
 
bool RegisterPlugin (const PluginID &provider, const wxString &path)
 
IdentInterface * CreateProviderInstance (const PluginID &provider, const wxString &path)
 
IdentInterface * CreateInstance (const PluginID &provider, const wxString &path)
 
void DeleteInstance (const PluginID &provider, IdentInterface *instance)
 
bool IsProviderValid (const PluginID &provider, const wxString &path)
 
bool IsPluginValid (const PluginID &provider, const wxString &path, bool bFast)
 

Static Public Member Functions

static ModuleManagerGet ()
 

Private Member Functions

 ModuleManager ()
 
 ~ModuleManager ()
 
void InitializeBuiltins ()
 
ModuleInterface * LoadModule (const wxString &path)
 

Private Attributes

friend ModuleInterfaceDeleter
 
ModuleMainMap mModuleMains
 
ModuleMap mDynModules
 
LibraryMap mLibs
 
std::vector< movable_ptr
< Module > > 
mModules
 

Static Private Attributes

static std::unique_ptr
< ModuleManager
mInstance {}
 

Constructor & Destructor Documentation

ModuleManager::ModuleManager ( )
private
ModuleManager::~ModuleManager ( )
private

References mDynModules.

Member Function Documentation

IdentInterface * ModuleManager::CreateInstance ( const PluginID provider,
const wxString &  path 
)

References mDynModules.

Referenced by PluginDescriptor::GetInstance().

IdentInterface * ModuleManager::CreateProviderInstance ( const PluginID provider,
const wxString &  path 
)
void ModuleManager::DeleteInstance ( const PluginID provider,
IdentInterface *  instance 
)

References mDynModules.

Referenced by PluginDescriptor::DeleteInstance().

wxArrayString ModuleManager::FindPluginsForProvider ( const PluginID provider,
const wxString &  path 
)
void ModuleManager::InitializeBuiltins ( )
private
bool ModuleManager::IsPluginValid ( const PluginID provider,
const wxString &  path,
bool  bFast 
)

References mDynModules.

Referenced by PluginManager::CheckForUpdates().

bool ModuleManager::IsProviderValid ( const PluginID provider,
const wxString &  path 
)
ModuleInterface * ModuleManager::LoadModule ( const wxString &  path)
private
void ModuleManager::RegisterModule ( ModuleInterface *  module)
override
bool ModuleManager::RegisterPlugin ( const PluginID provider,
const wxString &  path 
)

Member Data Documentation

std::unique_ptr< ModuleManager > ModuleManager::mInstance {}
staticprivate

Referenced by Get().

LibraryMap ModuleManager::mLibs
private
ModuleMainMap ModuleManager::mModuleMains
private
std::vector<movable_ptr<Module> > ModuleManager::mModules
private

Referenced by Dispatch(), and Initialize().

friend ModuleManager::ModuleInterfaceDeleter
private

The documentation for this class was generated from the following files: