#ifndef HARDWARE_CORE_H #define HARDWARE_CORE_H #include #include "model/hardware/core/IBoard.h" #include "model/ultrasoundModule/UsData.h" #include "model/hardware/core/lowLevelApi/TrxBoard.h" class HardwareCore : public QObject { Q_OBJECT private: TrxBoard* _trxBoard; bool selfTest(); bool functionalTest() { return true; } void createTrxBoard(); void initTrxBoard(); bool hwProcFileExist(); void checkPcieLink(); void programFpga(); QString getApplicationHomePath(); public: HardwareCore(); ~HardwareCore(); void start(); void dataReady(const QByteArray& arr); void startupRoutine(); signals: void newData(const QByteArray& arr); }; #endif //HARDWARE_CORE_H