CFIController 0

This commit is contained in:
2026-01-26 18:47:57 +03:00
parent f7c677f498
commit b452ef347d
12 changed files with 380 additions and 7 deletions

View File

@@ -0,0 +1,35 @@
#ifndef CFICONTROLLER_H
#define CFICONTROLLER_H
#include <QObject>
#include <QMutex>
#include "updatecontroller.h"
#include "cfiobject.h"
class CfiController : public QObject
{
Q_OBJECT
public:
explicit CfiController(UpdateController* updateController, QObject *parent = nullptr);
~CfiController();
public:
void lockAccessToCfiXML();
void unLockAccessToCfiXML();
bool parsingCfiXML();
signals:
private:
QVector3D getXYZfromElement(QDomElement element);
QVector2D getXYfromElement(QDomElement element);
private:
UpdateController* updateController;
QMutex mtxAccess;
QList<CfiObject> listCfiObjects;
};
#endif // CFICONTROLLER_H