You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
693 B

#ifndef HARDWARE_H
#define HARDWARE_H
#include <QMutex>
#include <QObject>
#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