#include <TYPluginManager.h>
Definition at line 73 of file TYPluginManager.h.
◆ TYPluginList
◆ TYPluginManager()
| TYPluginManager::TYPluginManager |
( |
| ) |
|
◆ ~TYPluginManager()
| TYPluginManager::~TYPluginManager |
( |
| ) |
|
◆ createPlugins()
| void TYPluginManager::createPlugins |
( |
const QFileInfoList & |
file_list | ) |
|
◆ exist() [1/2]
| bool TYPluginManager::exist |
( |
const OGenID & |
uuid | ) |
|
◆ exist() [2/2]
| bool TYPluginManager::exist |
( |
const QString & |
solverName | ) |
|
◆ get()
◆ getInfo()
| QString TYPluginManager::getInfo |
( |
const QString & |
info, |
|
|
const OGenID & |
uuid |
|
) |
| const |
◆ getInfos()
◆ getPlugin()
| Plugin * TYPluginManager::getPlugin |
( |
const OGenID & |
uuid | ) |
const |
◆ getPluginFileList()
| QFileInfoList TYPluginManager::getPluginFileList |
( |
const QDir & |
directory | ) |
const |
Get the list of dynamic library files to load.
These files are different available solvers.
- Parameters
-
| directory | The directory where there are the library files. |
- Returns
- The list of the dynamic library files.
Definition at line 58 of file TYPluginManager.cpp.
◆ getPluginList()
◆ getSolver()
◆ loadPlugins()
| bool TYPluginManager::loadPlugins |
( |
const QString & |
directory | ) |
|
Load, check, create and start plugins.
- Parameters
-
| directory | Path to the dynamic library files (aka plugins) to load. |
Definition at line 140 of file TYPluginManager.cpp.
◆ setAsSingleton()
| bool TYPluginManager::setAsSingleton |
( |
| ) |
|
Definit cette instance comme singleton. Attention : cette instance doit absolument avoir ete creee sur la heap (operateur new).
- Returns
- Indique si un singleton etait deja defini ou pas.
Definition at line 41 of file TYPluginManager.cpp.
◆ solverID()
| OGenID TYPluginManager::solverID |
( |
const QString & |
solverName | ) |
|
◆ startPlugin()
| bool TYPluginManager::startPlugin |
( |
TYPluginData * |
plugin_data | ) |
|
Check the loaded plugin.
Check if the loaded object has the good methods.
- Parameters
-
| plugin_data | The Plugin data related to the plugin to create. |
- Returns
- Start with success?
Definition at line 123 of file TYPluginManager.cpp.
◆ unloadPlugins()
| void TYPluginManager::unloadPlugins |
( |
| ) |
|
◆ _pInstance
◆ _plugins
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/models/business/TYPluginManager.h
- /home/docs/checkouts/readthedocs.org/user_builds/code-tympan-fbessou/checkouts/latest/Tympan/models/business/TYPluginManager.cpp