CEBL
2.1
|
#include <PluginLoader.hpp>
Public Member Functions | |
PluginLoader () | |
~PluginLoader () | |
void | loadDirs (std::vector< string > dirs) |
load plugins from directories | |
void | loadDir (string dir) |
load plugins from single directory | |
map< string, SharedLoader< T > > & | getPluginsMap () |
map< string, string > & | getPathsMap () |
vector< SharedLoader< T > > & | getPlugins () |
vector< string > | getPaths () |
vector< string > | getFileNames () |
vector< string > | getNames () |
get list of plugin names | |
string | getFilename (string plugin_name) |
gets filename of plugin by its name | |
string | getPath (string lib) |
gets plugin path by its name | |
string | getPathByFilename (string lib) |
gets plugin path by its filename | |
SharedLoader< T > | getLoader (string lib) |
T * | getPlugin (string plugin) |
gets plugin by its name | |
T * | getPluginByFilename (string plugin) |
get plugin by its filename |
Definition at line 55 of file PluginLoader.hpp.
|
inline |
Definition at line 67 of file PluginLoader.hpp.
PluginLoader< T >::~PluginLoader | ( | ) |
Definition at line 105 of file PluginLoader.hpp.
string PluginLoader< T >::getFilename | ( | string | plugin_name | ) |
gets filename of plugin by its name
Definition at line 226 of file PluginLoader.hpp.
vector< string > PluginLoader< T >::getFileNames | ( | ) |
Definition at line 193 of file PluginLoader.hpp.
|
inline |
Definition at line 94 of file PluginLoader.hpp.
vector< string > PluginLoader< T >::getNames | ( | ) |
get list of plugin names
Definition at line 208 of file PluginLoader.hpp.
Referenced by ClassifiersConfig::getNameList(), and FilterConfig::getNameList().
string PluginLoader< T >::getPath | ( | string | lib | ) |
gets plugin path by its name
Definition at line 278 of file PluginLoader.hpp.
string PluginLoader< T >::getPathByFilename | ( | string | lib | ) |
gets plugin path by its filename
Definition at line 257 of file PluginLoader.hpp.
vector< string > PluginLoader< T >::getPaths | ( | ) |
Definition at line 178 of file PluginLoader.hpp.
Referenced by ClassifiersConfig::getPathList(), and FilterConfig::getPathList().
|
inline |
Definition at line 82 of file PluginLoader.hpp.
T * PluginLoader< T >::getPlugin | ( | string | plugin | ) |
gets plugin by its name
Definition at line 271 of file PluginLoader.hpp.
Referenced by FilterConfig::apply(), FilterConfig::getComponents(), FilterConfig::getFilterMatrix(), ClassifiersConfig::getLastProbs(), ClassifiersConfig::getParams(), ClassifiersConfig::getTrainedClasses(), ClassifiersConfig::getTrainedLags(), ClassifiersConfig::getUseProbs(), ClassifiersConfig::haltTrain(), ClassifiersConfig::isTrained(), FilterConfig::isTrained(), ClassifiersConfig::reset(), ClassifiersConfig::setParams(), ClassifiersConfig::setSelected(), ClassifiersConfig::setUseProbs(), ClassifiersConfig::train(), FilterConfig::train(), and ClassifiersConfig::use().
T * PluginLoader< T >::getPluginByFilename | ( | string | plugin | ) |
get plugin by its filename
Definition at line 242 of file PluginLoader.hpp.
vector<SharedLoader<T> >& PluginLoader< T >::getPlugins | ( | ) |
|
inline |
Definition at line 81 of file PluginLoader.hpp.
void PluginLoader< T >::loadDir | ( | string | dir | ) |
load plugins from single directory
Definition at line 120 of file PluginLoader.hpp.
Referenced by ClassifiersConfig::ClassifiersConfig(), and FilterConfig::FilterConfig().
|
inline |
load plugins from directories
Definition at line 71 of file PluginLoader.hpp.