Update to dms control phase1.
This commit is contained in:
39
src/recon/ReconManager.h
Normal file
39
src/recon/ReconManager.h
Normal file
@@ -0,0 +1,39 @@
|
||||
#ifndef RECONMANAGER_H
|
||||
#define RECONMANAGER_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
namespace Recon
|
||||
{
|
||||
class ReconClient;
|
||||
}
|
||||
|
||||
class ReconManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
static ReconManager* getInstance();
|
||||
explicit ReconManager(QObject* aParent = nullptr);
|
||||
~ReconManager();
|
||||
|
||||
public:
|
||||
void setReconIpAndPort(const QString& aIp, const QString& aPort);
|
||||
|
||||
public slots:
|
||||
void createEmptyScan(const QString& aScanID, const QString& aPath);
|
||||
void createScan(const QString& aScanID, const QString& aPatientID, const QString& aReferenceID, const QString& aPath);
|
||||
void queryReconStatus(const QStringList& aScanIDs);
|
||||
|
||||
private:
|
||||
void init();
|
||||
|
||||
signals:
|
||||
void createEmptyScanResponsed(bool aResult, const QString& aScanID, const QString& aMessage = "");
|
||||
void createScanResponsed(bool aResult, const QString& aScanID, const QString& aMessage = "");
|
||||
void queryReconStateResponsed(const QMap<QString, int> aResult);
|
||||
|
||||
private:
|
||||
Recon::ReconClient* mReconClient;
|
||||
};
|
||||
|
||||
#endif // RECONMANAGER_H
|
||||
Reference in New Issue
Block a user