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.
SWGFreeDVModSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGFreeDVModSettings.h
15  *
16  * FreeDVMod
17  */
18 
19 #ifndef SWGFreeDVModSettings_H_
20 #define SWGFreeDVModSettings_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  SWGFreeDVModSettings(QString* json);
37  virtual ~SWGFreeDVModSettings();
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 SWGFreeDVModSettings* fromJson(QString &jsonString) override;
45 
46  qint64 getInputFrequencyOffset();
47  void setInputFrequencyOffset(qint64 input_frequency_offset);
48 
49  float getToneFrequency();
50  void setToneFrequency(float tone_frequency);
51 
52  float getVolumeFactor();
53  void setVolumeFactor(float volume_factor);
54 
55  qint32 getSpanLog2();
56  void setSpanLog2(qint32 span_log2);
57 
58  qint32 getAudioMute();
59  void setAudioMute(qint32 audio_mute);
60 
61  qint32 getPlayLoop();
62  void setPlayLoop(qint32 play_loop);
63 
64  qint32 getRgbColor();
65  void setRgbColor(qint32 rgb_color);
66 
67  QString* getTitle();
68  void setTitle(QString* title);
69 
70  QString* getAudioDeviceName();
71  void setAudioDeviceName(QString* audio_device_name);
72 
73  qint32 getFreeDvMode();
74  void setFreeDvMode(qint32 free_dv_mode);
75 
76  qint32 getModAfInput();
77  void setModAfInput(qint32 mod_af_input);
78 
79  qint32 getGaugeInputElseModem();
80  void setGaugeInputElseModem(qint32 gauge_input_else_modem);
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 
113  qint32 span_log2;
115 
116  qint32 audio_mute;
118 
119  qint32 play_loop;
121 
122  qint32 rgb_color;
124 
125  QString* title;
127 
130 
131  qint32 free_dv_mode;
133 
134  qint32 mod_af_input;
136 
139 
142 
145 
148 
151 
154 
157 
158 };
159 
160 }
161 
162 #endif /* SWGFreeDVModSettings_H_ */
#define SWG_API
Definition: export.h:124