Tulip
4.6.0
Better Visualization Through Research
|
#include <PluginLoaderTxt.h>
Public Member Functions | |
virtual void | aborted (const std::string &filename, const std::string &erreurmsg) |
virtual void | finished (bool state, const std::string &msg) |
virtual void | loaded (const Plugin *infos, const std::list< Dependency > &) |
virtual void | loading (const std::string &filename) |
virtual void | start (const std::string &path) |
A simple implementation of tlp::PluginLoader to display load state into the console.
Definition at line 30 of file PluginLoaderTxt.h.
virtual void tlp::PluginLoaderTxt::aborted | ( | const std::string & | filename, |
const std::string & | errormsg | ||
) | [virtual] |
Indicates that an error occurred when trying to load a file.
filename | The absolute path of where the error occured. |
errormsg | A human-readable error message. |
Implements tlp::PluginLoader.
virtual void tlp::PluginLoaderTxt::finished | ( | bool | state, |
const std::string & | msg | ||
) | [virtual] |
Indicates that a file has finished being loaded.
state | true if the file was loaded sucessfully |
msg | An additional human-readable message about the load state |
Implements tlp::PluginLoader.
virtual void tlp::PluginLoaderTxt::loaded | ( | const Plugin * | infos, |
const std::list< Dependency > & | dependencies | ||
) | [virtual] |
Indicates that a plugin has been loaded sucessfully.
infos | The Plugin object that has just been loaded |
dependencies | The plugin dependencies |
Implements tlp::PluginLoader.
virtual void tlp::PluginLoaderTxt::loading | ( | const std::string & | filename | ) | [virtual] |
Indicates that a new file is being loaded.
filename | The absolute path of the file |
Implements tlp::PluginLoader.
virtual void tlp::PluginLoaderTxt::start | ( | const std::string & | path | ) | [virtual] |
Called when starting to load plugins into a given directory.
path | The absolute path of the directory |
Implements tlp::PluginLoader.