SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
SWGTestMISettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGTestMISettings.h
15  *
16  * TestMISettings
17  */
18 
19 #ifndef SWGTestMISettings_H_
20 #define SWGTestMISettings_H_
21 
22 #include <QJsonObject>
23 
24 
26 #include <QList>
27 #include <QString>
28 
29 #include "SWGObject.h"
30 #include "export.h"
31 
32 namespace SWGSDRangel {
33 
35 public:
37  SWGTestMISettings(QString* json);
38  virtual ~SWGTestMISettings();
39  void init();
40  void cleanup();
41 
42  virtual QString asJson () override;
43  virtual QJsonObject* asJsonObject() override;
44  virtual void fromJsonObject(QJsonObject &json) override;
45  virtual SWGTestMISettings* fromJson(QString &jsonString) override;
46 
47  QString* getFileRecordName();
48  void setFileRecordName(QString* file_record_name);
49 
50  qint32 getUseReverseApi();
51  void setUseReverseApi(qint32 use_reverse_api);
52 
53  QString* getReverseApiAddress();
54  void setReverseApiAddress(QString* reverse_api_address);
55 
56  qint32 getReverseApiPort();
57  void setReverseApiPort(qint32 reverse_api_port);
58 
59  qint32 getReverseApiDeviceIndex();
60  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
61 
62  QList<SWGTestMiStreamSettings*>* getStreams();
63  void setStreams(QList<SWGTestMiStreamSettings*>* streams);
64 
65 
66  virtual bool isSet() override;
67 
68 private:
69  QString* file_record_name;
71 
74 
77 
80 
83 
84  QList<SWGTestMiStreamSettings*>* streams;
86 
87 };
88 
89 }
90 
91 #endif /* SWGTestMISettings_H_ */
QList< SWGTestMiStreamSettings * > * streams
#define SWG_API
Definition: export.h:124