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.
SWGBFMDemodSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGBFMDemodSettings.h
15  *
16  * BFMDemod
17  */
18 
19 #ifndef SWGBFMDemodSettings_H_
20 #define SWGBFMDemodSettings_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  SWGBFMDemodSettings(QString* json);
36  virtual ~SWGBFMDemodSettings();
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 SWGBFMDemodSettings* 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 getAfBandwidth();
52  void setAfBandwidth(float af_bandwidth);
53 
54  float getVolume();
55  void setVolume(float volume);
56 
57  float getSquelch();
58  void setSquelch(float squelch);
59 
60  qint32 getAudioStereo();
61  void setAudioStereo(qint32 audio_stereo);
62 
63  qint32 getLsbStereo();
64  void setLsbStereo(qint32 lsb_stereo);
65 
66  qint32 getShowPilot();
67  void setShowPilot(qint32 show_pilot);
68 
69  qint32 getRdsActive();
70  void setRdsActive(qint32 rds_active);
71 
72  qint32 getRgbColor();
73  void setRgbColor(qint32 rgb_color);
74 
75  QString* getTitle();
76  void setTitle(QString* title);
77 
78  QString* getAudioDeviceName();
79  void setAudioDeviceName(QString* audio_device_name);
80 
81  qint32 getUseReverseApi();
82  void setUseReverseApi(qint32 use_reverse_api);
83 
84  QString* getReverseApiAddress();
85  void setReverseApiAddress(QString* reverse_api_address);
86 
87  qint32 getReverseApiPort();
88  void setReverseApiPort(qint32 reverse_api_port);
89 
90  qint32 getReverseApiDeviceIndex();
91  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
92 
93  qint32 getReverseApiChannelIndex();
94  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
95 
96 
97  virtual bool isSet() override;
98 
99 private:
102 
105 
108 
109  float volume;
111 
112  float squelch;
114 
115  qint32 audio_stereo;
117 
118  qint32 lsb_stereo;
120 
121  qint32 show_pilot;
123 
124  qint32 rds_active;
126 
127  qint32 rgb_color;
129 
130  QString* title;
132 
135 
138 
141 
144 
147 
150 
151 };
152 
153 }
154 
155 #endif /* SWGBFMDemodSettings_H_ */
#define SWG_API
Definition: export.h:124