This is the abstract factory for plugin engines.  
 More...
#include <PluginEngineFactory.h>
 | 
| std::string  | m_factoryKey | 
|   | The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.  More...
  | 
|   | 
This is the abstract factory for plugin engines. 
If you want a specific engine in order to load a plugin you can use a command like:  te::plugin::AbstractPluginEngine* pEngine = te::plugin::PluginEngineFactory::make("C++"); 
- Note
 - The caller of the method make will take the ownership of the returned engine.
 
- See Also
 - PluginEngine, AbstractFactory 
 
Definition at line 52 of file PluginEngineFactory.h.
 
  
  
      
        
          | te::plugin::PluginEngineFactory::~PluginEngineFactory  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | te::plugin::PluginEngineFactory::PluginEngineFactory  | 
          ( | 
          const std::string &  | 
          factoryKey | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  | 
      
   | 
  
protectedpure virtualinherited   | 
  
 
Concrete factories (derived from this one) must implement this method in order to create objects. 
- Returns
 - It returns an object created by the concrete factory. 
 
Implemented in te::plugin::CppPluginEngineFactory.
 
 
It returns a reference to the internal dictionary of concrete factories. 
The dictionary is a singleton.
- Returns
 - A reference to the internal dictionary. 
 
 
 
It returns the factory key associated to the concreate factory. 
- Returns
 - The factory key associated to the concreate factory. 
 
 
 
It creates an object with the appropriated factory. 
- Parameters
 - 
  
    | factoryKey | A key that identifies the factory used to build the object. | 
  
   
- Returns
 - It returns a new object created by the given factory.
 
- Exceptions
 - 
  
    | Exception | If the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception. | 
  
   
- Note
 - The caller of this method will take the ownership of the returned object. 
 
Referenced by te::plugin::PluginManager::load(), and te::plugin::PluginManager::unload().
 
 
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. 
Definition at line 136 of file AbstractFactory.h.
 
 
The documentation for this class was generated from the following files: