Tulip
5.6.0
Large graphs analysis and drawing
|
#include <PluginLoader.h>
Public Member Functions | |
virtual void | aborted (const std::string &filename, const std::string &errormsg)=0 |
virtual void | finished (bool state, const std::string &msg)=0 |
virtual void | loaded (const Plugin *info, const std::list< Dependency > &dependencies)=0 |
virtual void | loading (const std::string &filename)=0 |
virtual void | numberOfFiles (int) |
virtual void | start (const std::string &path)=0 |
Static Public Attributes | |
static PluginLoader * | current |
A callback class when loading plugins into Tulip.
This interface can be subclassed and passed to the tlp::PluginLibraryLoader to implement custom event handling when loading plugins into Tulip
Definition at line 41 of file PluginLoader.h.
|
pure virtual |
Indicates that an error occurred when trying to load a file.
filename | The absolute path of where the error occurred. |
errormsg | A human-readable error message. |
Implemented in tlp::PluginLoaderTxt.
|
pure virtual |
Indicates that a file has finished being loaded.
state | true if the load was successful |
msg | An additional human-readable message about the load state |
Implemented in tlp::PluginLoaderTxt.
|
pure virtual |
Indicates that a plugin has been loaded successfully.
info | The Plugin object that has just been loaded |
dependencies | The plugin dependencies |
Implemented in tlp::PluginLoaderTxt.
|
pure virtual |
Indicates that a new file is being loaded.
filename | The absolute path of the file |
Implemented in tlp::PluginLoaderTxt.
|
inlinevirtual |
Indicates the number of files to be loaded.
int | the number of files |
Definition at line 54 of file PluginLoader.h.
|
pure virtual |
Called when starting to load plugins into a given directory.
path | The absolute path of the directory |
Implemented in tlp::PluginLoaderTxt.