A proxy class for C++ plugins. More...
#include <CppPluginProxy.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| CppPluginProxy (const std::shared_ptr< Library > &slib, std::unique_ptr< CppPlugin > real_plugin) | |
| Constructor. More... | |
| const PluginInfo & | info () const |
| It returns the PluginInfo of the CppPlugin. More... | |
| bool | initialized () const |
| It returns true or false if the CppPlugin was initialized. More... | |
| void | shutdown () |
| It shuts down the CppPlugin. More... | |
| void | startup () |
| It starts the CppPlugin. More... | |
| ~CppPluginProxy () | |
| Destructor. More... | |
Private Attributes | |
| Impl * | m_pimpl |
A proxy class for C++ plugins.
Definition at line 53 of file src/terralib/core/plugin/CppPluginProxy.h.
| te::core::CppPluginProxy::CppPluginProxy | ( | const std::shared_ptr< Library > & | slib, |
| std::unique_ptr< CppPlugin > | real_plugin | ||
| ) |
Constructor.
Definition at line 41 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl, te::core::CppPluginProxy::Impl::real_plugin, and te::core::CppPluginProxy::Impl::slib.
| te::core::CppPluginProxy::~CppPluginProxy | ( | ) |
Destructor.
Definition at line 50 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl.
|
virtual |
It returns the PluginInfo of the CppPlugin.
Implements te::core::AbstractPlugin.
Definition at line 56 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl, and te::core::CppPluginProxy::Impl::real_plugin.
|
virtual |
It returns true or false if the CppPlugin was initialized.
Implements te::core::AbstractPlugin.
Definition at line 62 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl, and te::core::CppPluginProxy::Impl::real_plugin.
|
virtual |
It shuts down the CppPlugin.
| PluginShutdownException | It may throws an exception if the CppPlugin cannot be shutdown. |
Implements te::core::AbstractPlugin.
Definition at line 74 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl, and te::core::CppPluginProxy::Impl::real_plugin.
|
virtual |
It starts the CppPlugin.
| PluginStartupException | It may throws an exception if the CppPlugin cannot be started. |
Implements te::core::AbstractPlugin.
Definition at line 68 of file src/terralib/core/plugin/CppPluginProxy.cpp.
References m_pimpl, and te::core::CppPluginProxy::Impl::real_plugin.
|
private |
Definition at line 94 of file src/terralib/core/plugin/CppPluginProxy.h.
Referenced by CppPluginProxy(), info(), initialized(), shutdown(), startup(), and ~CppPluginProxy().