19 #ifndef SWGDSDDemodSettings_H_ 20 #define SWGDSDDemodSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getInputFrequencyOffset();
46 void setInputFrequencyOffset(qint64 input_frequency_offset);
48 float getRfBandwidth();
49 void setRfBandwidth(
float rf_bandwidth);
51 float getFmDeviation();
52 void setFmDeviation(
float fm_deviation);
55 void setDemodGain(
float demod_gain);
58 void setVolume(
float volume);
61 void setBaudRate(qint32 baud_rate);
63 qint32 getSquelchGate();
64 void setSquelchGate(qint32 squelch_gate);
67 void setSquelch(
float squelch);
69 qint32 getAudioMute();
70 void setAudioMute(qint32 audio_mute);
72 qint32 getEnableCosineFiltering();
73 void setEnableCosineFiltering(qint32 enable_cosine_filtering);
75 qint32 getSyncOrConstellation();
76 void setSyncOrConstellation(qint32 sync_or_constellation);
79 void setSlot1On(qint32 slot1_on);
82 void setSlot2On(qint32 slot2_on);
84 qint32 getTdmaStereo();
85 void setTdmaStereo(qint32 tdma_stereo);
88 void setPllLock(qint32 pll_lock);
91 void setRgbColor(qint32 rgb_color);
94 void setTitle(QString* title);
96 QString* getAudioDeviceName();
97 void setAudioDeviceName(QString* audio_device_name);
99 qint32 getHighPassFilter();
100 void setHighPassFilter(qint32 high_pass_filter);
102 qint32 getTraceLengthMutliplier();
103 void setTraceLengthMutliplier(qint32 trace_length_mutliplier);
105 qint32 getTraceStroke();
106 void setTraceStroke(qint32 trace_stroke);
108 qint32 getTraceDecay();
109 void setTraceDecay(qint32 trace_decay);
111 qint32 getUseReverseApi();
112 void setUseReverseApi(qint32 use_reverse_api);
114 QString* getReverseApiAddress();
115 void setReverseApiAddress(QString* reverse_api_address);
117 qint32 getReverseApiPort();
118 void setReverseApiPort(qint32 reverse_api_port);
120 qint32 getReverseApiDeviceIndex();
121 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
123 qint32 getReverseApiChannelIndex();
124 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
127 virtual bool isSet()
override;
qint64 input_frequency_offset
bool m_input_frequency_offset_isSet
bool m_sync_or_constellation_isSet
bool m_reverse_api_address_isSet
bool m_audio_device_name_isSet
QString * audio_device_name
bool m_rf_bandwidth_isSet
qint32 reverse_api_channel_index
bool m_squelch_gate_isSet
bool m_enable_cosine_filtering_isSet
qint32 reverse_api_device_index
bool m_trace_stroke_isSet
bool m_fm_deviation_isSet
bool m_reverse_api_channel_index_isSet
bool m_use_reverse_api_isSet
bool m_high_pass_filter_isSet
bool m_reverse_api_port_isSet
qint32 enable_cosine_filtering
bool m_reverse_api_device_index_isSet
bool m_trace_length_mutliplier_isSet
QString * reverse_api_address
qint32 sync_or_constellation
qint32 trace_length_mutliplier