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.
SWGLocalInputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGLocalInputSettings.h
15  *
16  * LocalInput
17  */
18 
19 #ifndef SWGLocalInputSettings_H_
20 #define SWGLocalInputSettings_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include <QString>
26 
27 #include "SWGObject.h"
28 #include "export.h"
29 
30 namespace SWGSDRangel {
31 
33 public:
35  SWGLocalInputSettings(QString* json);
36  virtual ~SWGLocalInputSettings();
37  void init();
38  void cleanup();
39 
40  virtual QString asJson () override;
41  virtual QJsonObject* asJsonObject() override;
42  virtual void fromJsonObject(QJsonObject &json) override;
43  virtual SWGLocalInputSettings* fromJson(QString &jsonString) override;
44 
45  qint32 getDcBlock();
46  void setDcBlock(qint32 dc_block);
47 
48  qint32 getIqCorrection();
49  void setIqCorrection(qint32 iq_correction);
50 
51  QString* getFileRecordName();
52  void setFileRecordName(QString* file_record_name);
53 
54  qint32 getUseReverseApi();
55  void setUseReverseApi(qint32 use_reverse_api);
56 
57  QString* getReverseApiAddress();
58  void setReverseApiAddress(QString* reverse_api_address);
59 
60  qint32 getReverseApiPort();
61  void setReverseApiPort(qint32 reverse_api_port);
62 
63  qint32 getReverseApiDeviceIndex();
64  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
65 
66 
67  virtual bool isSet() override;
68 
69 private:
70  qint32 dc_block;
72 
73  qint32 iq_correction;
75 
76  QString* file_record_name;
78 
81 
84 
87 
90 
91 };
92 
93 }
94 
95 #endif /* SWGLocalInputSettings_H_ */
#define SWG_API
Definition: export.h:124