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.
56 lines
1.2 KiB
56 lines
1.2 KiB
#ifndef SSM_H
|
|
#define SSM_H
|
|
|
|
#include "model/ultrasoundModule/UsModule.h"
|
|
#include "model/backendImageProcessor/type/EImageMode.h"
|
|
#include "model/ssm/dtoInternal/SsmProbeProperties.h"
|
|
#include "model/ssm/dtoInternal/SsmPresetValues.h"
|
|
#include "model/ssm/dtoInternal/SsmConnectedProbe.h"
|
|
#include "model/ssm/dtoInternal/SsmProbeLastConfig.h"
|
|
|
|
class Ssm : public UsModule
|
|
{
|
|
Q_OBJECT
|
|
US_MODULE
|
|
SINGLETON(Ssm)
|
|
|
|
private:
|
|
Ssm();
|
|
~Ssm() override;
|
|
|
|
EImageMode::eImageMode _currentMode;
|
|
void updateCurrentMode(const CommandRequest& request);
|
|
|
|
SsmProbeProperties_t _probeProps;
|
|
SsmPresetValues_t _presetValues;
|
|
|
|
QList<SsmConnectedProbe_t> _connectedProbes;
|
|
|
|
bool _forceProbeSelection;
|
|
|
|
void getProbeProps(int id);
|
|
void sendProbeProps();
|
|
|
|
void getPresetValues(int id);
|
|
void sendPresetValues();
|
|
|
|
EImageMode::eImageMode applyFreezeOnCurrentMode(bool freeze);
|
|
|
|
EImageMode::eImageMode applyCriOnCurrentMode(bool criEnbleStatus);
|
|
QString addCriToMode(QString mode);
|
|
|
|
QString addCineToMode(QString mode);
|
|
|
|
void selfTest();
|
|
void startupRoutine();
|
|
void shutdownRoutine();
|
|
void getConnectedProbes();
|
|
void showProbePage();
|
|
void checkForLastProbe();
|
|
|
|
bool checkPanel();
|
|
|
|
void saveProbeState();
|
|
};
|
|
|
|
#endif //SSM_H
|
|
|