Namespace for the Plugin module of TerraLib. More...
Classes | |
| class | AbstractFinder |
| The AbstractFinder class allows applications to extend how PluginManager can search for plugins. More... | |
| class | AbstractPlugin |
| An abstract class for TerraLib Plugins. More... | |
| class | AbstractPluginEngine |
| class | CppPlugin |
| An abstract interface for Plugins written in C++. More... | |
| class | CppPluginEngine |
| An abstract class for plugin engines. More... | |
| class | CppPluginEngineFactory |
| This is the concrete factory for C++ plugin engines. More... | |
| class | CppPluginProxy |
| A proxy class for C++ plugins. More... | |
| class | DefaultFinder |
| A plugin finder that search for plugins in some special directories defined by compile time macros. More... | |
| class | Module |
| This singleton defines the TerraLib Plugin module entry. More... | |
| class | Plugin |
| A base class for plugin types. More... | |
| class | PluginEngineFactory |
| This is the abstract factory for plugin engines. More... | |
| struct | PluginInfo |
| The basic information about a plugin. More... | |
| class | PluginManager |
| A singleton for managing plugins. More... | |
| struct | Provider |
| This struct can be used to describe a given plugin provider. More... | |
Typedefs | |
| typedef Plugin *(* | GetPluginFPtr) (const PluginInfo &info) |
| It exports Plugin's access function type. More... | |
Functions | |
| TEPLUGINEXPORT PluginInfo * | GetInstalledPlugin (const std::string &pluginFilePath) |
| It returns information about a given plugin provided its plugin configuration file name or dir. More... | |
| TEPLUGINEXPORT void | Unload (const std::string &plugin) |
| It recursively unload the plugin and any dependent plugins. More... | |
| TEPLUGINEXPORT void | UnloadAllPluginsFromEngine (const std::string &engine) |
| It unloads all plugins from a given engine. More... | |
| Plugin *(* te::plugin::GetPluginFPtr)(const PluginInfo &info) |
| te::plugin::PluginInfo * te::plugin::GetInstalledPlugin | ( | const std::string & | pluginFilePath | ) |
It returns information about a given plugin provided its plugin configuration file name or dir.
| pluginFilePath | Plugin configuration file name or dir (may be a relative path). |
| Exception | It throws an exception if it is not possible to retrieve information about the plugin. |
Definition at line 80 of file Utils.cpp.
References te::xml::ReaderFactory::make(), te::xml::START_ELEMENT, and TE_TR.
Referenced by AddPlugin(), te::plugin::DefaultFinder::getPlugins(), and te::qt::af::ApplicationController::initializePlugins().
| void te::plugin::Unload | ( | const std::string & | plugin | ) |
It recursively unload the plugin and any dependent plugins.
Definition at line 66 of file Utils.cpp.
Referenced by UnloadAllPluginsFromEngine().
| void te::plugin::UnloadAllPluginsFromEngine | ( | const std::string & | engine | ) |
It unloads all plugins from a given engine.
Definition at line 40 of file Utils.cpp.
References te::plugin::PluginInfo::m_engine, and Unload().
Referenced by te::plugin::Module::finalize().