te::core::CppPluginProxy Class Reference

A proxy class for C++ plugins. More...

#include <CppPluginProxy.h>

Inheritance diagram for te::core::CppPluginProxy:
te::core::AbstractPlugin

Classes

struct  Impl
 

Public Member Functions

 CppPluginProxy (const std::shared_ptr< Library > &slib, std::unique_ptr< CppPlugin > real_plugin)
 Constructor. More...
 
const PluginInfoinfo () 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

Implm_pimpl
 

Detailed Description

A proxy class for C++ plugins.

Definition at line 53 of file src/terralib/core/plugin/CppPluginProxy.h.

Constructor & Destructor Documentation

te::core::CppPluginProxy::CppPluginProxy ( const std::shared_ptr< Library > &  slib,
std::unique_ptr< CppPlugin real_plugin 
)
te::core::CppPluginProxy::~CppPluginProxy ( )

Destructor.

Definition at line 50 of file src/terralib/core/plugin/CppPluginProxy.cpp.

References m_pimpl.

Member Function Documentation

const te::core::PluginInfo & te::core::CppPluginProxy::info ( ) const
virtual

It returns the PluginInfo of the CppPlugin.

Returns
The CppPlugin information

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.

bool te::core::CppPluginProxy::initialized ( ) const
virtual

It returns true or false if the CppPlugin was initialized.

Returns
The current state of the CppPlugin

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.

void te::core::CppPluginProxy::shutdown ( )
virtual

It shuts down the CppPlugin.

Exceptions
PluginShutdownExceptionIt 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.

void te::core::CppPluginProxy::startup ( )
virtual

It starts the CppPlugin.

Exceptions
PluginStartupExceptionIt 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.

Member Data Documentation

Impl* te::core::CppPluginProxy::m_pimpl
private

The documentation for this class was generated from the following files: