Go to the documentation of this file.
30 #ifndef __TERRALIB_CORE_PLUGIN_PLUGINENGINEMANAGER_H__
31 #define __TERRALIB_CORE_PLUGIN_PLUGINENGINEMANAGER_H__
34 #include "../Config.h"
46 class AbstractPluginEngine;
63 void insert(std::unique_ptr<AbstractPluginEngine> engine);
70 void remove(
const std::string& engine_id);
111 #endif // __TERRALIB_CORE_PLUGIN_PLUGINENGINEMANAGER_H__
PluginEngineManager & operator=(const PluginEngineManager &)
PluginEngineManager(const PluginEngineManager &)
PluginEngineManager()
Consructor.
AbstractPluginEngine & get(const std::string &engine_id) const
Find a plugin engine with the given id.
static PluginEngineManager & instance()
Access the singleton.
A singleton that can be used to register plugin engines.
~PluginEngineManager()
Destructor.
void clear()
Unregister every plugin engine.
The base class for plugin engines.
void remove(const std::string &engine_id)
Unregister the plugin engine.
void insert(std::unique_ptr< AbstractPluginEngine > engine)
Register a new plugin engine.