#include <CppPluginEngine.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| CppPluginEngine () | |
| Default construtor. More... | |
| const std::string & | id () const |
| It returns the id of the plugin engine. More... | |
| std::unique_ptr< AbstractPlugin > | load (const PluginInfo &pinfo) |
| It loads a cpp plugin from a give PluginInfo. More... | |
| const std::string & | name () const |
| It returns the name of the plugin engine. More... | |
| void | unload (std::unique_ptr< AbstractPlugin > plugin) |
| It unloads a cpp plugin from a give AbstractPlugin unique_ptr. More... | |
| ~CppPluginEngine () | |
| Destructor. More... | |
Private Attributes | |
| Impl * | m_pimpl |
Definition at line 46 of file src/terralib/core/plugin/CppPluginEngine.h.
| te::core::CppPluginEngine::CppPluginEngine | ( | ) |
Default construtor.
Definition at line 54 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References te::core::CppPluginEngine::Impl::engine_id, te::core::CppPluginEngine::Impl::engine_name, and m_pimpl.
| te::core::CppPluginEngine::~CppPluginEngine | ( | ) |
Destructor.
Definition at line 62 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References m_pimpl.
|
virtual |
It returns the id of the plugin engine.
Implements te::core::AbstractPluginEngine.
Definition at line 68 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References te::core::CppPluginEngine::Impl::engine_id, and m_pimpl.
|
virtual |
It loads a cpp plugin from a give PluginInfo.
| PluginEngineLoadException | If the plugin cannot be loaded. |
Implements te::core::AbstractPluginEngine.
Definition at line 80 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References te::core::FileSystem::absolutePath(), te::core::FileSystem::currentPath(), te::core::Library::getNativeName(), te::core::PluginInfo::name, te::core::PluginInfo::resources, TE_LOG_TRACE, and TE_TR.
|
virtual |
It returns the name of the plugin engine.
Implements te::core::AbstractPluginEngine.
Definition at line 74 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References te::core::CppPluginEngine::Impl::engine_name, and m_pimpl.
|
virtual |
It unloads a cpp plugin from a give AbstractPlugin unique_ptr.
| PluginEngineUnloadException | If the plugin cannot be unloaded. |
Implements te::core::AbstractPluginEngine.
Definition at line 212 of file src/terralib/core/plugin/CppPluginEngine.cpp.
References TE_TR.
|
private |
Definition at line 79 of file src/terralib/core/plugin/CppPluginEngine.h.
Referenced by CppPluginEngine(), id(), name(), and ~CppPluginEngine().