#include <AbstractPluginEngine.h>
Public Member Functions | |
| AbstractPluginEngine () | |
| virtual AbstractPlugin * | load (const PluginInfo &pInfo)=0 |
| It try to create and load the informed plugin. More... | |
| virtual void | unload (AbstractPlugin *plugin)=0 |
| It try to unload the informed plugin. More... | |
| virtual | ~AbstractPluginEngine () |
| Virtual destructor. More... | |
Definition at line 54 of file AbstractPluginEngine.h.
|
inline |
Default construtor.
Definition at line 59 of file AbstractPluginEngine.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 62 of file AbstractPluginEngine.h.
|
pure virtual |
It try to create and load the informed plugin.
| pInfo | The information needed to create and load the plugin. |
| Exception | It throws an exception if the plugin can not be loaded. |
Implemented in te::plugin::CppPluginEngine.
Referenced by ~AbstractPluginEngine().
|
pure virtual |
It try to unload the informed plugin.
On success the informed plugin will be also destroyed and its pointer will be invalidated.
| plugin | The plugin to be unloaded. |
| Exception | It throws an exception if the plugin can not be unloaded. |
Implemented in te::plugin::CppPluginEngine.
Referenced by ~AbstractPluginEngine().