Elektra
0.8.18
|
Loads all plugins and allows us to query them. More...
#include <plugindatabase.hpp>
Public Types | |
enum | Status { provides, real, missing } |
Public Member Functions | |
virtual std::vector< std::string > | listAllPlugins () const =0 |
list all plugins More... | |
virtual std::string | lookupInfo (PluginSpec const &whichplugin, std::string const &which) const =0 |
lookup contract clauses or dynamic information More... | |
virtual func_t | getSymbol (PluginSpec const &whichplugin, std::string const &which) const =0 |
get exported plugin symbol More... | |
virtual PluginSpec | lookupMetadata (std::string const &which) const =0 |
lookup which plugin handles meta data More... | |
virtual PluginSpec | lookupProvides (std::string const &provides) const =0 |
lookup which plugin is a provider for that plugin More... | |
Static Public Member Functions | |
static int | calculateStatus (std::string statusString) |
Loads all plugins and allows us to query them.
|
static |
statusString | the string encoding the status |
|
pure virtual |
get exported plugin symbol
whichplugin | from which plugin? |
which | which symbol would you like to look up? |
Implemented in kdb::tools::MockPluginDatabase, and kdb::tools::ModulesPluginDatabase.
|
pure 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).
Implemented in kdb::tools::MockPluginDatabase, and kdb::tools::ModulesPluginDatabase.
|
pure virtual |
lookup contract clauses or dynamic information
whichplugin | about which plugin? |
which | about which clause in the contract? |
Implemented in kdb::tools::MockPluginDatabase, and kdb::tools::ModulesPluginDatabase.
|
pure virtual |
lookup which plugin handles meta data
which | the meta data of interest |
Implemented in kdb::tools::ModulesPluginDatabase.
|
pure 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 |
Implemented in kdb::tools::ModulesPluginDatabase.