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.
SWGPlutoSdrOutputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGPlutoSdrOutputSettings.h
15  *
16  * PlutoSDR
17  */
18 
19 #ifndef SWGPlutoSdrOutputSettings_H_
20 #define SWGPlutoSdrOutputSettings_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  SWGPlutoSdrOutputSettings(QString* json);
36  virtual ~SWGPlutoSdrOutputSettings();
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 SWGPlutoSdrOutputSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getCenterFrequency();
46  void setCenterFrequency(qint64 center_frequency);
47 
48  qint32 getDevSampleRate();
49  void setDevSampleRate(qint32 dev_sample_rate);
50 
51  qint32 getLOppmTenths();
52  void setLOppmTenths(qint32 l_oppm_tenths);
53 
54  qint32 getLpfFirEnable();
55  void setLpfFirEnable(qint32 lpf_fir_enable);
56 
57  qint32 getLpfFirbw();
58  void setLpfFirbw(qint32 lpf_firbw);
59 
60  qint32 getLpfFiRlog2Interp();
61  void setLpfFiRlog2Interp(qint32 lpf_fi_rlog2_interp);
62 
63  qint32 getLpfFirGain();
64  void setLpfFirGain(qint32 lpf_fir_gain);
65 
66  qint32 getLog2Interp();
67  void setLog2Interp(qint32 log2_interp);
68 
69  qint32 getLpfBw();
70  void setLpfBw(qint32 lpf_bw);
71 
72  qint32 getAtt();
73  void setAtt(qint32 att);
74 
75  qint32 getAntennaPath();
76  void setAntennaPath(qint32 antenna_path);
77 
78  qint32 getTransverterMode();
79  void setTransverterMode(qint32 transverter_mode);
80 
81  qint64 getTransverterDeltaFrequency();
82  void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
83 
84  qint32 getUseReverseApi();
85  void setUseReverseApi(qint32 use_reverse_api);
86 
87  QString* getReverseApiAddress();
88  void setReverseApiAddress(QString* reverse_api_address);
89 
90  qint32 getReverseApiPort();
91  void setReverseApiPort(qint32 reverse_api_port);
92 
93  qint32 getReverseApiDeviceIndex();
94  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
95 
96 
97  virtual bool isSet() override;
98 
99 private:
102 
105 
108 
111 
112  qint32 lpf_firbw;
114 
117 
118  qint32 lpf_fir_gain;
120 
121  qint32 log2_interp;
123 
124  qint32 lpf_bw;
126 
127  qint32 att;
129 
130  qint32 antenna_path;
132 
135 
138 
141 
144 
147 
150 
151 };
152 
153 }
154 
155 #endif /* SWGPlutoSdrOutputSettings_H_ */
#define SWG_API
Definition: export.h:124