19 #ifndef SWGRemoteOutputSettings_H_ 20 #define SWGRemoteOutputSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint32 getCenterFrequency();
46 void setCenterFrequency(qint32 center_frequency);
48 qint32 getSampleRate();
49 void setSampleRate(qint32 sample_rate);
52 void setTxDelay(
float tx_delay);
54 qint32 getNbFecBlocks();
55 void setNbFecBlocks(qint32 nb_fec_blocks);
57 QString* getApiAddress();
58 void setApiAddress(QString* api_address);
61 void setApiPort(qint32 api_port);
63 QString* getDataAddress();
64 void setDataAddress(QString* data_address);
67 void setDataPort(qint32 data_port);
69 qint32 getDeviceIndex();
70 void setDeviceIndex(qint32 device_index);
72 qint32 getChannelIndex();
73 void setChannelIndex(qint32 channel_index);
75 qint32 getUseReverseApi();
76 void setUseReverseApi(qint32 use_reverse_api);
78 QString* getReverseApiAddress();
79 void setReverseApiAddress(QString* reverse_api_address);
81 qint32 getReverseApiPort();
82 void setReverseApiPort(qint32 reverse_api_port);
84 qint32 getReverseApiDeviceIndex();
85 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
88 virtual bool isSet()
override;
bool m_reverse_api_port_isSet
bool m_device_index_isSet
QString * reverse_api_address
bool m_reverse_api_address_isSet
qint32 reverse_api_device_index
bool m_center_frequency_isSet
bool m_reverse_api_device_index_isSet
bool m_nb_fec_blocks_isSet
bool m_data_address_isSet
bool m_channel_index_isSet
bool m_use_reverse_api_isSet