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.
53 lines
1.4 KiB
53 lines
1.4 KiB
#ifndef BIP_H
|
|
#define BIP_H
|
|
|
|
#include <QMutex>
|
|
|
|
#include "model/ultrasoundModule/UsModule.h"
|
|
#include "model/backendImageProcessor/core/BipCore.h"
|
|
#include "model/scenarioGenerator/dto/software/SoftwareOutput.h"
|
|
#include "model/backendImageProcessor/dto/BipImage.h"
|
|
#include "model/databaseManager/type/EDatabaseRequest.h"
|
|
#include "model/backendImageProcessor/utils/KernelInputFetcher.h"
|
|
#include "model/backendImageProcessor/dtoInternal/BipInput.h"
|
|
|
|
/*************************************************************************************************/
|
|
/**
|
|
* @brief The class is responsible for processing frames with GPU's aid
|
|
* @author Mohsen Emami - revised by h-4nd-h
|
|
* @date 2019/8/5(1398/5/14)
|
|
*/
|
|
/*************************************************************************************************/
|
|
class Bip : public UsModule
|
|
{
|
|
Q_OBJECT
|
|
US_MODULE
|
|
SINGLETON(Bip)
|
|
|
|
private:
|
|
BipCore* _core;
|
|
|
|
KernelInputFetcher* _kernelInput;
|
|
|
|
Bip();
|
|
|
|
void sendDataToEvocator(const UsPacket& packet);
|
|
void sendDataToViewModel(const BipImage_t& outputImage);
|
|
|
|
public:
|
|
~Bip() override
|
|
{
|
|
}
|
|
|
|
signals:
|
|
void sendOutputImageToViewModel(QVariant outputImage);
|
|
|
|
//uncrustify off
|
|
public slots:
|
|
//uncrustify on
|
|
void newOuput(const UsPacket& evocData, const BipImage_t& outputImage);
|
|
void requestDataFromDatabase(EDatabaseRequest::eDatabaseRequest request,
|
|
const QList<QVariant> args);
|
|
};
|
|
|
|
#endif //BIP_H
|
|
|