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.
SWGATVModSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGATVModSettings.h
15  *
16  * ATVMod
17  */
18 
19 #ifndef SWGATVModSettings_H_
20 #define SWGATVModSettings_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  SWGATVModSettings(QString* json);
36  virtual ~SWGATVModSettings();
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 SWGATVModSettings* 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 getRfOppBandwidth();
52  void setRfOppBandwidth(float rf_opp_bandwidth);
53 
54  qint32 getAtvStd();
55  void setAtvStd(qint32 atv_std);
56 
57  qint32 getNbLines();
58  void setNbLines(qint32 nb_lines);
59 
60  qint32 getFps();
61  void setFps(qint32 fps);
62 
63  qint32 getAtvModInput();
64  void setAtvModInput(qint32 atv_mod_input);
65 
66  float getUniformLevel();
67  void setUniformLevel(float uniform_level);
68 
69  qint32 getAtvModulation();
70  void setAtvModulation(qint32 atv_modulation);
71 
72  qint32 getVideoPlayLoop();
73  void setVideoPlayLoop(qint32 video_play_loop);
74 
75  qint32 getVideoPlay();
76  void setVideoPlay(qint32 video_play);
77 
78  qint32 getCameraPlay();
79  void setCameraPlay(qint32 camera_play);
80 
81  qint32 getChannelMute();
82  void setChannelMute(qint32 channel_mute);
83 
84  qint32 getInvertedVideo();
85  void setInvertedVideo(qint32 inverted_video);
86 
87  float getRfScalingFactor();
88  void setRfScalingFactor(float rf_scaling_factor);
89 
90  float getFmExcursion();
91  void setFmExcursion(float fm_excursion);
92 
93  qint32 getForceDecimator();
94  void setForceDecimator(qint32 force_decimator);
95 
96  qint32 getShowOverlayText();
97  void setShowOverlayText(qint32 show_overlay_text);
98 
99  QString* getOverlayText();
100  void setOverlayText(QString* overlay_text);
101 
102  qint32 getRgbColor();
103  void setRgbColor(qint32 rgb_color);
104 
105  QString* getTitle();
106  void setTitle(QString* title);
107 
108  QString* getImageFileName();
109  void setImageFileName(QString* image_file_name);
110 
111  QString* getVideoFileName();
112  void setVideoFileName(QString* video_file_name);
113 
114  qint32 getUseReverseApi();
115  void setUseReverseApi(qint32 use_reverse_api);
116 
117  QString* getReverseApiAddress();
118  void setReverseApiAddress(QString* reverse_api_address);
119 
120  qint32 getReverseApiPort();
121  void setReverseApiPort(qint32 reverse_api_port);
122 
123  qint32 getReverseApiDeviceIndex();
124  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
125 
126  qint32 getReverseApiChannelIndex();
127  void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
128 
129 
130  virtual bool isSet() override;
131 
132 private:
135 
138 
141 
142  qint32 atv_std;
144 
145  qint32 nb_lines;
147 
148  qint32 fps;
150 
153 
156 
159 
162 
163  qint32 video_play;
165 
166  qint32 camera_play;
168 
169  qint32 channel_mute;
171 
174 
177 
180 
183 
186 
187  QString* overlay_text;
189 
190  qint32 rgb_color;
192 
193  QString* title;
195 
196  QString* image_file_name;
198 
199  QString* video_file_name;
201 
204 
207 
210 
213 
216 
217 };
218 
219 }
220 
221 #endif /* SWGATVModSettings_H_ */
#define SWG_API
Definition: export.h:124