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.
SWGFreeDVDemodSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGFreeDVDemodSettings.h
15  *
16  * FreeDVDemod
17  */
18 
19 #ifndef SWGFreeDVDemodSettings_H_
20 #define SWGFreeDVDemodSettings_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  SWGFreeDVDemodSettings(QString* json);
36  virtual ~SWGFreeDVDemodSettings();
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 SWGFreeDVDemodSettings* fromJson(QString &jsonString) override;
44 
45  qint64 getInputFrequencyOffset();
46  void setInputFrequencyOffset(qint64 input_frequency_offset);
47 
48  float getVolume();
49  void setVolume(float volume);
50 
51  float getVolumeIn();
52  void setVolumeIn(float volume_in);
53 
54  qint32 getSpanLog2();
55  void setSpanLog2(qint32 span_log2);
56 
57  qint32 getAudioMute();
58  void setAudioMute(qint32 audio_mute);
59 
60  qint32 getAgc();
61  void setAgc(qint32 agc);
62 
63  qint32 getRgbColor();
64  void setRgbColor(qint32 rgb_color);
65 
66  QString* getTitle();
67  void setTitle(QString* title);
68 
69  QString* getAudioDeviceName();
70  void setAudioDeviceName(QString* audio_device_name);
71 
72  qint32 getFreeDvMode();
73  void setFreeDvMode(qint32 free_dv_mode);
74 
75  qint32 getUseReverseApi();
76  void setUseReverseApi(qint32 use_reverse_api);
77 
78  QString* getReverseApiAddress();
79  void setReverseApiAddress(QString* reverse_api_address);
80 
81  qint32 getReverseApiPort();
82  void setReverseApiPort(qint32 reverse_api_port);
83 
84  qint32 getReverseApiDeviceIndex();
85  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
86 
87  qint32 getReverseApiChannelIndex();
88  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
89 
90 
91  virtual bool isSet() override;
92 
93 private:
96 
97  float volume;
99 
100  float volume_in;
102 
103  qint32 span_log2;
105 
106  qint32 audio_mute;
108 
109  qint32 agc;
111 
112  qint32 rgb_color;
114 
115  QString* title;
117 
120 
121  qint32 free_dv_mode;
123 
126 
129 
132 
135 
138 
139 };
140 
141 }
142 
143 #endif /* SWGFreeDVDemodSettings_H_ */
#define SWG_API
Definition: export.h:124