te::core::PluginEngineManager Class Reference

A singleton that can be used to register plugin engines. More...

#include <PluginEngineManager.h>

Public Member Functions

void clear ()
 Unregister every plugin engine. More...
 
AbstractPluginEngineget (const std::string &engine_id) const
 Find a plugin engine with the given id. More...
 
void insert (std::unique_ptr< AbstractPluginEngine > engine)
 Register a new plugin engine. More...
 
void remove (const std::string &engine_id)
 Unregister the plugin engine. More...
 

Static Public Member Functions

static PluginEngineManagerinstance ()
 Access the singleton. More...
 

Protected Member Functions

 PluginEngineManager ()
 Consructor. More...
 
 ~PluginEngineManager ()
 Destructor. More...
 

Private Member Functions

PluginEngineManageroperator= (const PluginEngineManager &)
 
 PluginEngineManager (const PluginEngineManager &)
 

Private Attributes

Impl * m_pimpl
 

Detailed Description

A singleton that can be used to register plugin engines.

Definition at line 53 of file PluginEngineManager.h.

Constructor & Destructor Documentation

te::core::PluginEngineManager::PluginEngineManager ( )
protected

Consructor.

te::core::PluginEngineManager::~PluginEngineManager ( )
protected

Destructor.

te::core::PluginEngineManager::PluginEngineManager ( const PluginEngineManager )
private

Member Function Documentation

void te::core::PluginEngineManager::clear ( )

Unregister every plugin engine.

AbstractPluginEngine& te::core::PluginEngineManager::get ( const std::string &  engine_id) const

Find a plugin engine with the given id.

Exceptions
OutOfRangeExceptionIf an engine with the given id is not found.
void te::core::PluginEngineManager::insert ( std::unique_ptr< AbstractPluginEngine engine)

Register a new plugin engine.

Exceptions
InvalidArgumentExceptionIt throws an exception if the engine argument is not valid or another engine with the same name is already registered.
static PluginEngineManager& te::core::PluginEngineManager::instance ( )
static

Access the singleton.

PluginEngineManager& te::core::PluginEngineManager::operator= ( const PluginEngineManager )
private
void te::core::PluginEngineManager::remove ( const std::string &  engine_id)

Unregister the plugin engine.

Exceptions
OutOfRangeExceptionIf an engine with the given id is not found.

Member Data Documentation

Impl* te::core::PluginEngineManager::m_pimpl
private

Definition at line 103 of file PluginEngineManager.h.


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