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.
SWGNFMModSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGNFMModSettings.h
15  *
16  * NFMMod
17  */
18 
19 #ifndef SWGNFMModSettings_H_
20 #define SWGNFMModSettings_H_
21 
22 #include <QJsonObject>
23 
24 
25 #include "SWGCWKeyerSettings.h"
26 #include <QString>
27 
28 #include "SWGObject.h"
29 #include "export.h"
30 
31 namespace SWGSDRangel {
32 
34 public:
36  SWGNFMModSettings(QString* json);
37  virtual ~SWGNFMModSettings();
38  void init();
39  void cleanup();
40 
41  virtual QString asJson () override;
42  virtual QJsonObject* asJsonObject() override;
43  virtual void fromJsonObject(QJsonObject &json) override;
44  virtual SWGNFMModSettings* fromJson(QString &jsonString) override;
45 
46  qint64 getInputFrequencyOffset();
47  void setInputFrequencyOffset(qint64 input_frequency_offset);
48 
49  float getRfBandwidth();
50  void setRfBandwidth(float rf_bandwidth);
51 
52  float getAfBandwidth();
53  void setAfBandwidth(float af_bandwidth);
54 
55  float getFmDeviation();
56  void setFmDeviation(float fm_deviation);
57 
58  float getToneFrequency();
59  void setToneFrequency(float tone_frequency);
60 
61  float getVolumeFactor();
62  void setVolumeFactor(float volume_factor);
63 
64  qint32 getChannelMute();
65  void setChannelMute(qint32 channel_mute);
66 
67  qint32 getPlayLoop();
68  void setPlayLoop(qint32 play_loop);
69 
70  qint32 getCtcssOn();
71  void setCtcssOn(qint32 ctcss_on);
72 
73  qint32 getCtcssIndex();
74  void setCtcssIndex(qint32 ctcss_index);
75 
76  qint32 getRgbColor();
77  void setRgbColor(qint32 rgb_color);
78 
79  QString* getTitle();
80  void setTitle(QString* title);
81 
82  QString* getAudioDeviceName();
83  void setAudioDeviceName(QString* audio_device_name);
84 
85  qint32 getModAfInput();
86  void setModAfInput(qint32 mod_af_input);
87 
88  qint32 getUseReverseApi();
89  void setUseReverseApi(qint32 use_reverse_api);
90 
91  QString* getReverseApiAddress();
92  void setReverseApiAddress(QString* reverse_api_address);
93 
94  qint32 getReverseApiPort();
95  void setReverseApiPort(qint32 reverse_api_port);
96 
97  qint32 getReverseApiDeviceIndex();
98  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
99 
100  qint32 getReverseApiChannelIndex();
101  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
102 
103  SWGCWKeyerSettings* getCwKeyer();
104  void setCwKeyer(SWGCWKeyerSettings* cw_keyer);
105 
106 
107  virtual bool isSet() override;
108 
109 private:
112 
115 
118 
121 
124 
127 
128  qint32 channel_mute;
130 
131  qint32 play_loop;
133 
134  qint32 ctcss_on;
136 
137  qint32 ctcss_index;
139 
140  qint32 rgb_color;
142 
143  QString* title;
145 
148 
149  qint32 mod_af_input;
151 
154 
157 
160 
163 
166 
169 
170 };
171 
172 }
173 
174 #endif /* SWGNFMModSettings_H_ */
#define SWG_API
Definition: export.h:124