Elektra
0.8.16
|
A plugin database that works with installed modules. More...
#include <plugindatabase.hpp>
Public Member Functions | |
std::vector< std::string > | listAllPlugins () const |
list all plugins More... | |
std::string | lookupInfo (PluginSpec const &spec, std::string const &which) const |
lookup contract clauses or dynamic information More... | |
PluginSpec | lookupMetadata (std::string const &which) const |
lookup which plugin handles meta data More... | |
PluginSpec | lookupProvides (std::string const &provides) const |
lookup which plugin is a provider for that plugin More... | |
Additional Inherited Members | |
Public Types inherited from kdb::tools::PluginDatabase | |
enum | Status { provides, real, missing } |
Static Public Member Functions inherited from kdb::tools::PluginDatabase | |
static int | calculateStatus (std::string statusString) |
A plugin database that works with installed modules.
|
virtual |
list all plugins
If Elektra is compiled with plugins, it will search for shared libraries. In any case, if no shared libraries were found it will fallback to an internal list (plugins that were compiled together with Elektra).
Implements kdb::tools::PluginDatabase.
Reimplemented in kdb::tools::MockPluginDatabase.
|
virtual |
lookup contract clauses or dynamic information
whichplugin | about which plugin? |
which | about which clause in the contract? |
Implements kdb::tools::PluginDatabase.
Reimplemented in kdb::tools::MockPluginDatabase.
|
virtual |
lookup which plugin handles meta data
which | the meta data of interest |
Implements kdb::tools::PluginDatabase.
|
virtual |
lookup which plugin is a provider for that plugin
provides | is the provider to find |
NoPlugin | if no plugin that provides the functionality could be found |
Implements kdb::tools::PluginDatabase.