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.
SWGRemoteInputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGRemoteInputSettings.h
15  *
16  * RemoteInput
17  */
18 
19 #ifndef SWGRemoteInputSettings_H_
20 #define SWGRemoteInputSettings_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  SWGRemoteInputSettings(QString* json);
36  virtual ~SWGRemoteInputSettings();
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 SWGRemoteInputSettings* fromJson(QString &jsonString) override;
44 
45  QString* getApiAddress();
46  void setApiAddress(QString* api_address);
47 
48  qint32 getApiPort();
49  void setApiPort(qint32 api_port);
50 
51  QString* getDataAddress();
52  void setDataAddress(QString* data_address);
53 
54  qint32 getDataPort();
55  void setDataPort(qint32 data_port);
56 
57  qint32 getDcBlock();
58  void setDcBlock(qint32 dc_block);
59 
60  qint32 getIqCorrection();
61  void setIqCorrection(qint32 iq_correction);
62 
63  QString* getFileRecordName();
64  void setFileRecordName(QString* file_record_name);
65 
66  qint32 getUseReverseApi();
67  void setUseReverseApi(qint32 use_reverse_api);
68 
69  QString* getReverseApiAddress();
70  void setReverseApiAddress(QString* reverse_api_address);
71 
72  qint32 getReverseApiPort();
73  void setReverseApiPort(qint32 reverse_api_port);
74 
75  qint32 getReverseApiDeviceIndex();
76  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
77 
78 
79  virtual bool isSet() override;
80 
81 private:
82  QString* api_address;
84 
85  qint32 api_port;
87 
88  QString* data_address;
90 
91  qint32 data_port;
93 
94  qint32 dc_block;
96 
97  qint32 iq_correction;
99 
102 
105 
108 
111 
114 
115 };
116 
117 }
118 
119 #endif /* SWGRemoteInputSettings_H_ */
#define SWG_API
Definition: export.h:124