#include <PluginLoaderTxt.h>
 | 
| void  | aborted (const std::string &filename, const std::string &erreurmsg) override | 
|   | 
| void  | finished (bool state, const std::string &msg) override | 
|   | 
| void  | loaded (const Plugin *info, const std::list< Dependency > &) override | 
|   | 
| void  | loading (const std::string &filename) override | 
|   | 
| void  | start (const std::string &path) override | 
|   | 
| virtual void  | numberOfFiles (int) | 
|   | 
A simple implementation of tlp::PluginLoader to display load state into the console. 
Definition at line 30 of file PluginLoaderTxt.h.
 
◆ aborted()
  
  
      
        
          | void tlp::PluginLoaderTxt::aborted  | 
          ( | 
          const std::string &  | 
          filename,  | 
         
        
           | 
           | 
          const std::string &  | 
          errormsg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtual   | 
  
 
Indicates that an error occurred when trying to load a file. 
- Parameters
 - 
  
    | filename | The absolute path of where the error occurred.  | 
    | errormsg | A human-readable error message.  | 
  
   
Implements tlp::PluginLoader.
 
 
◆ finished()
  
  
      
        
          | void tlp::PluginLoaderTxt::finished  | 
          ( | 
          bool  | 
          state,  | 
         
        
           | 
           | 
          const std::string &  | 
          msg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtual   | 
  
 
Indicates that a file has finished being loaded. 
- Parameters
 - 
  
    | state | true if the load was successful  | 
    | msg | An additional human-readable message about the load state  | 
  
   
Implements tlp::PluginLoader.
 
 
◆ loaded()
  
  
      
        
          | void tlp::PluginLoaderTxt::loaded  | 
          ( | 
          const Plugin *  | 
          info,  | 
         
        
           | 
           | 
          const std::list< Dependency > &  | 
          dependencies  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overridevirtual   | 
  
 
Indicates that a plugin has been loaded successfully. 
- Parameters
 - 
  
    | info | The Plugin object that has just been loaded  | 
    | dependencies | The plugin dependencies | 
  
   
- See also
 - tlp::Dependency 
 
Implements tlp::PluginLoader.
 
 
◆ loading()
  
  
      
        
          | void tlp::PluginLoaderTxt::loading  | 
          ( | 
          const std::string &  | 
          filename | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Indicates that a new file is being loaded. 
- Parameters
 - 
  
    | filename | The absolute path of the file  | 
  
   
Implements tlp::PluginLoader.
 
 
◆ start()
  
  
      
        
          | void tlp::PluginLoaderTxt::start  | 
          ( | 
          const std::string &  | 
          path | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Called when starting to load plugins into a given directory. 
- Parameters
 - 
  
    | path | The absolute path of the directory  | 
  
   
Implements tlp::PluginLoader.