XORDE  v1.0
eXtensible Operational Robotic Development Environment
PluginModuleFactory.h
1 #ifndef PLUGINMODULEFACTORY_H
2 #define PLUGINMODULEFACTORY_H
3 
4 #include "tronostools_global.h"
5 
6 #include "ComponentBase.h"
7 
8 #include <QHash>
9 #include <QObject>
10 #include <QJsonArray>
11 #include <QJsonObject>
12 
13 class TRONOSTOOLSSHARED_EXPORT PluginModuleFactory : public QObject
14 {
15  Q_OBJECT
16 public:
17  PluginModuleFactory();
18  virtual ~PluginModuleFactory();
19 
20 public:
21  virtual ComponentBase* load(QString in_name) = 0;
22  virtual void getListComponent(QList<QJsonObject>& out_list);
23 protected:
24  QHash<QString, QJsonObject> m_io_list;
25 };
26 
27 #endif // PLUGINMODULEFACTORY_H
The base for the ONB component.
Definition: ComponentBase.h:97