te::core::CppPluginEngine Class Reference

#include <CppPluginEngine.h>

Inheritance diagram for te::core::CppPluginEngine:
te::core::AbstractPluginEngine

Public Member Functions

 CppPluginEngine ()
 Default construtor. More...
 
const std::string & id () const
 It returns the id of the plugin engine. More...
 
std::unique_ptr< AbstractPluginload (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
 

Detailed Description

Definition at line 46 of file CppPluginEngine.h.

Constructor & Destructor Documentation

te::core::CppPluginEngine::CppPluginEngine ( )

Default construtor.

te::core::CppPluginEngine::~CppPluginEngine ( )

Destructor.

Member Function Documentation

const std::string& te::core::CppPluginEngine::id ( ) const
virtual

It returns the id of the plugin engine.

Implements te::core::AbstractPluginEngine.

std::unique_ptr<AbstractPlugin> te::core::CppPluginEngine::load ( const PluginInfo pinfo)
virtual

It loads a cpp plugin from a give PluginInfo.

Exceptions
PluginEngineLoadExceptionIf the plugin cannot be loaded.
Returns
A unique_ptr of the loaded plugin.

Implements te::core::AbstractPluginEngine.

const std::string& te::core::CppPluginEngine::name ( ) const
virtual

It returns the name of the plugin engine.

Implements te::core::AbstractPluginEngine.

void te::core::CppPluginEngine::unload ( std::unique_ptr< AbstractPlugin plugin)
virtual

It unloads a cpp plugin from a give AbstractPlugin unique_ptr.

Exceptions
PluginEngineUnloadExceptionIf the plugin cannot be unloaded.

Implements te::core::AbstractPluginEngine.

Member Data Documentation

Impl* te::core::CppPluginEngine::m_pimpl
private

Definition at line 79 of file CppPluginEngine.h.


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