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.
SWGDSDDemodSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGDSDDemodSettings.h
15  *
16  * DSDDemod
17  */
18 
19 #ifndef SWGDSDDemodSettings_H_
20 #define SWGDSDDemodSettings_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  SWGDSDDemodSettings(QString* json);
36  virtual ~SWGDSDDemodSettings();
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 SWGDSDDemodSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getInputFrequencyOffset();
46  void setInputFrequencyOffset(qint64 input_frequency_offset);
47 
48  float getRfBandwidth();
49  void setRfBandwidth(float rf_bandwidth);
50 
51  float getFmDeviation();
52  void setFmDeviation(float fm_deviation);
53 
54  float getDemodGain();
55  void setDemodGain(float demod_gain);
56 
57  float getVolume();
58  void setVolume(float volume);
59 
60  qint32 getBaudRate();
61  void setBaudRate(qint32 baud_rate);
62 
63  qint32 getSquelchGate();
64  void setSquelchGate(qint32 squelch_gate);
65 
66  float getSquelch();
67  void setSquelch(float squelch);
68 
69  qint32 getAudioMute();
70  void setAudioMute(qint32 audio_mute);
71 
72  qint32 getEnableCosineFiltering();
73  void setEnableCosineFiltering(qint32 enable_cosine_filtering);
74 
75  qint32 getSyncOrConstellation();
76  void setSyncOrConstellation(qint32 sync_or_constellation);
77 
78  qint32 getSlot1On();
79  void setSlot1On(qint32 slot1_on);
80 
81  qint32 getSlot2On();
82  void setSlot2On(qint32 slot2_on);
83 
84  qint32 getTdmaStereo();
85  void setTdmaStereo(qint32 tdma_stereo);
86 
87  qint32 getPllLock();
88  void setPllLock(qint32 pll_lock);
89 
90  qint32 getRgbColor();
91  void setRgbColor(qint32 rgb_color);
92 
93  QString* getTitle();
94  void setTitle(QString* title);
95 
96  QString* getAudioDeviceName();
97  void setAudioDeviceName(QString* audio_device_name);
98 
99  qint32 getHighPassFilter();
100  void setHighPassFilter(qint32 high_pass_filter);
101 
102  qint32 getTraceLengthMutliplier();
103  void setTraceLengthMutliplier(qint32 trace_length_mutliplier);
104 
105  qint32 getTraceStroke();
106  void setTraceStroke(qint32 trace_stroke);
107 
108  qint32 getTraceDecay();
109  void setTraceDecay(qint32 trace_decay);
110 
111  qint32 getUseReverseApi();
112  void setUseReverseApi(qint32 use_reverse_api);
113 
114  QString* getReverseApiAddress();
115  void setReverseApiAddress(QString* reverse_api_address);
116 
117  qint32 getReverseApiPort();
118  void setReverseApiPort(qint32 reverse_api_port);
119 
120  qint32 getReverseApiDeviceIndex();
121  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
122 
123  qint32 getReverseApiChannelIndex();
124  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
125 
126 
127  virtual bool isSet() override;
128 
129 private:
132 
135 
138 
139  float demod_gain;
141 
142  float volume;
144 
145  qint32 baud_rate;
147 
148  qint32 squelch_gate;
150 
151  float squelch;
153 
154  qint32 audio_mute;
156 
159 
162 
163  qint32 slot1_on;
165 
166  qint32 slot2_on;
168 
169  qint32 tdma_stereo;
171 
172  qint32 pll_lock;
174 
175  qint32 rgb_color;
177 
178  QString* title;
180 
183 
186 
189 
190  qint32 trace_stroke;
192 
193  qint32 trace_decay;
195 
198 
201 
204 
207 
210 
211 };
212 
213 }
214 
215 #endif /* SWGDSDDemodSettings_H_ */
#define SWG_API
Definition: export.h:124