te::core::CppPluginProxy Class Reference

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

#include <CppPluginProxy.h>

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

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

Impl * m_pimpl
 

Detailed Description

A proxy class for C++ plugins.

Definition at line 53 of file CppPluginProxy.h.

Constructor & Destructor Documentation

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

Constructor.

te::core::CppPluginProxy::~CppPluginProxy ( )

Destructor.

Member Function Documentation

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

It returns the PluginInfo of the CppPlugin.

Returns
The CppPlugin information

Implements te::core::AbstractPlugin.

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.

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.

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.

Member Data Documentation

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

Definition at line 94 of file CppPluginProxy.h.


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