Tulip  5.1.0
Large graphs analysis and drawing
PluginLoaderTxt.h
1 /*
2  *
3  * This file is part of Tulip (http://tulip.labri.fr)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux
7  *
8  * Tulip is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *
13  * Tulip is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  */
19 
20 #ifndef TLP_PLUGINLOADERTXT
21 #define TLP_PLUGINLOADERTXT
22 #include <tulip/PluginLoader.h>
23 
24 namespace tlp {
25 
26 /**
27  * @ingroup Plugins
28  * @brief A simple implementation of tlp::PluginLoader to display load state into the console
29  */
30 struct TLP_SCOPE PluginLoaderTxt:public PluginLoader {
31  virtual void start(const std::string &path);
32  virtual void loading(const std::string &filename);
33  virtual void loaded(const Plugin* info, const std::list <Dependency>&);
34  virtual void aborted(const std::string &filename,const std::string &erreurmsg);
35  virtual void finished(bool state,const std::string &msg);
36 };
37 
38 }
39 #endif
Top-level interface for plug-ins.
Definition: Plugin.h:79
A simple implementation of tlp::PluginLoader to display load state into the console.
A callback class when loading plugins into Tulip.
Definition: PluginLoader.h:40