#ifndef HARDWARE_H #define HARDWARE_H #include #include #include "model/ultrasoundModule/UsModule.h" #include "model/hardware/core/HardwareCore.h" /** * @brief The singleton Hardware class * @details Is treated as the actual hardware in our model and is responsible for reflecting it. * @author Hessamoddin Hediyehloo(H-4nd-H) * @date 2019/8/5(1398/5/14) */ class Hardware : public UsModule { Q_OBJECT US_MODULE SINGLETON(Hardware) private: HardwareCore* _hardwareCore; Hardware(); ~Hardware() override; //uncrustify off public slots: //uncrudtify on void newPacketReady(const UsPacket& packet); }; #endif //HARDWARE_H