mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
CFIController 0
This commit is contained in:
35
LibServer/cficontroller/cficontroller.h
Normal file
35
LibServer/cficontroller/cficontroller.h
Normal 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
|
||||
Reference in New Issue
Block a user