Tulip  5.4.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  void start(const std::string &path) override;
32  void loading(const std::string &filename) override;
33  void loaded(const Plugin *info, const std::list<Dependency> &) override;
34  void aborted(const std::string &filename, const std::string &erreurmsg) override;
35  void finished(bool state, const std::string &msg) override;
36 };
37 } // namespace tlp
38 #endif
Top-level interface for plug-ins.
Definition: Plugin.h:85
A simple implementation of tlp::PluginLoader to display load state into the console.
A callback class when loading plugins into Tulip.
Definition: PluginLoader.h:41