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.
SWGWFMModSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGWFMModSettings.h
15  *
16  * WFMMod
17  */
18 
19 #ifndef SWGWFMModSettings_H_
20 #define SWGWFMModSettings_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  SWGWFMModSettings(QString* json);
37  virtual ~SWGWFMModSettings();
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 SWGWFMModSettings* 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 getRgbColor();
71  void setRgbColor(qint32 rgb_color);
72 
73  QString* getTitle();
74  void setTitle(QString* title);
75 
76  QString* getAudioDeviceName();
77  void setAudioDeviceName(QString* audio_device_name);
78 
79  qint32 getModAfInput();
80  void setModAfInput(qint32 mod_af_input);
81 
82  qint32 getUseReverseApi();
83  void setUseReverseApi(qint32 use_reverse_api);
84 
85  QString* getReverseApiAddress();
86  void setReverseApiAddress(QString* reverse_api_address);
87 
88  qint32 getReverseApiPort();
89  void setReverseApiPort(qint32 reverse_api_port);
90 
91  qint32 getReverseApiDeviceIndex();
92  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
93 
94  qint32 getReverseApiChannelIndex();
95  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
96 
97  SWGCWKeyerSettings* getCwKeyer();
98  void setCwKeyer(SWGCWKeyerSettings* cw_keyer);
99 
100 
101  virtual bool isSet() override;
102 
103 private:
106 
109 
112 
115 
118 
121 
122  qint32 channel_mute;
124 
125  qint32 play_loop;
127 
128  qint32 rgb_color;
130 
131  QString* title;
133 
136 
137  qint32 mod_af_input;
139 
142 
145 
148 
151 
154 
157 
158 };
159 
160 }
161 
162 #endif /* SWGWFMModSettings_H_ */
#define SWG_API
Definition: export.h:124