123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <qmap.h>
- #include <qmetatype.h>
- #include <QtCore/qlibrary.h>
- #include <AlgorithmModel.h>
- #include <QVariant.h>
- #include <QTextBrowser>
- using namespace std;
- class LoadAlgorithm
- {
-
- public:
- LoadAlgorithm();
- ~LoadAlgorithm();
-
- public:
- bool LoadAllAlgorithm(QString pluginName);
- bool Init();
- private:
- //еĶ«Î÷
- QVariantMap algorithmConfigurationTable;
-
- bool initialAlgorithmConfiguration(QString jsonPath);
- public:
- QMap<std::string, AlgorithmModel*> m_plugins ;
- };
|