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.
SWGFileInputSettings.h
Go to the documentation of this file.
1 
13 /*
14  * SWGFileInputSettings.h
15  *
16  * FileInput
17  */
18 
19 #ifndef SWGFileInputSettings_H_
20 #define SWGFileInputSettings_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  SWGFileInputSettings(QString* json);
36  virtual ~SWGFileInputSettings();
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 SWGFileInputSettings* fromJson(QString &jsonString) override;
44 
45  QString* getFileName();
46  void setFileName(QString* file_name);
47 
48  qint32 getAccelerationFactor();
49  void setAccelerationFactor(qint32 acceleration_factor);
50 
51  qint32 getLoop();
52  void setLoop(qint32 loop);
53 
54  qint32 getUseReverseApi();
55  void setUseReverseApi(qint32 use_reverse_api);
56 
57  QString* getReverseApiAddress();
58  void setReverseApiAddress(QString* reverse_api_address);
59 
60  qint32 getReverseApiPort();
61  void setReverseApiPort(qint32 reverse_api_port);
62 
63  qint32 getReverseApiDeviceIndex();
64  void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
65 
66 
67  virtual bool isSet() override;
68 
69 private:
70  QString* file_name;
72 
75 
76  qint32 loop;
78 
81 
84 
87 
90 
91 };
92 
93 }
94 
95 #endif /* SWGFileInputSettings_H_ */
#define SWG_API
Definition: export.h:124