19 #ifndef SWGSoapySDRInputSettings_H_ 20 #define SWGSoapySDRInputSettings_H_ 22 #include <QJsonObject> 43 virtual QString asJson ()
override;
44 virtual QJsonObject* asJsonObject()
override;
45 virtual void fromJsonObject(QJsonObject &json)
override;
48 qint64 getCenterFrequency();
49 void setCenterFrequency(qint64 center_frequency);
51 qint32 getLOppmTenths();
52 void setLOppmTenths(qint32 l_oppm_tenths);
54 qint32 getDevSampleRate();
55 void setDevSampleRate(qint32 dev_sample_rate);
57 qint32 getLog2Decim();
58 void setLog2Decim(qint32 log2_decim);
61 void setFcPos(qint32 fc_pos);
63 qint32 getSoftDcCorrection();
64 void setSoftDcCorrection(qint32 soft_dc_correction);
66 qint32 getSoftIqCorrection();
67 void setSoftIqCorrection(qint32 soft_iq_correction);
69 qint32 getTransverterMode();
70 void setTransverterMode(qint32 transverter_mode);
72 qint64 getTransverterDeltaFrequency();
73 void setTransverterDeltaFrequency(qint64 transverter_delta_frequency);
75 QString* getFileRecordName();
76 void setFileRecordName(QString* file_record_name);
78 QString* getAntenna();
79 void setAntenna(QString* antenna);
81 qint32 getBandwidth();
82 void setBandwidth(qint32 bandwidth);
84 QList<SWGArgValue*>* getTunableElements();
85 void setTunableElements(QList<SWGArgValue*>* tunable_elements);
87 qint32 getGlobalGain();
88 void setGlobalGain(qint32 global_gain);
90 QList<SWGArgValue*>* getIndividualGains();
91 void setIndividualGains(QList<SWGArgValue*>* individual_gains);
94 void setAutoGain(qint32 auto_gain);
96 qint32 getAutoDcCorrection();
97 void setAutoDcCorrection(qint32 auto_dc_correction);
99 qint32 getAutoIqCorrection();
100 void setAutoIqCorrection(qint32 auto_iq_correction);
103 void setDcCorrection(
SWGComplex* dc_correction);
106 void setIqCorrection(
SWGComplex* iq_correction);
108 QList<SWGArgValue*>* getStreamArgSettings();
109 void setStreamArgSettings(QList<SWGArgValue*>* stream_arg_settings);
111 QList<SWGArgValue*>* getDeviceArgSettings();
112 void setDeviceArgSettings(QList<SWGArgValue*>* device_arg_settings);
114 qint32 getUseReverseApi();
115 void setUseReverseApi(qint32 use_reverse_api);
117 QString* getReverseApiAddress();
118 void setReverseApiAddress(QString* reverse_api_address);
120 qint32 getReverseApiPort();
121 void setReverseApiPort(qint32 reverse_api_port);
123 qint32 getReverseApiDeviceIndex();
124 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
127 virtual bool isSet()
override;