#include <AbstractPluginEngine.h>
Definition at line 54 of file AbstractPluginEngine.h.
 
  
  
      
        
          | te::plugin::AbstractPluginEngine::AbstractPluginEngine  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | virtual te::plugin::AbstractPluginEngine::~AbstractPluginEngine  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
It try to create and load the informed plugin. 
- Parameters
 - 
  
    | pInfo | The information needed to create and load the plugin. | 
  
   
- Returns
 - It returns a loaded plugin. The caller will take the ownership of the returned plugin.
 
- Exceptions
 - 
  
    | Exception | It throws an exception if the plugin can not be loaded. | 
  
   
- Note
 - If the parameter PluginInfo::m_folder does not contains the required plugin it may be searched and loaded using a set of default paths. 
 
Implemented in te::plugin::CppPluginEngine.
 
 
  
  
      
        
          | virtual void te::plugin::AbstractPluginEngine::unload  | 
          ( | 
          AbstractPlugin *  | 
          plugin | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
It try to unload the informed plugin. 
On success the informed plugin will be also destroyed and its pointer will be invalidated.
- Parameters
 - 
  
    | plugin | The plugin to be unloaded. | 
  
   
- Exceptions
 - 
  
    | Exception | It throws an exception if the plugin can not be unloaded.  | 
  
   
Implemented in te::plugin::CppPluginEngine.
 
 
The documentation for this class was generated from the following file: