19 #ifndef SWGSamplingDevice_H_ 20 #define SWGSamplingDevice_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
46 void setIndex(qint32 index);
49 void setHwType(QString* hw_type);
51 qint32 getDirection();
52 void setDirection(qint32 direction);
54 qint32 getDeviceNbStreams();
55 void setDeviceNbStreams(qint32 device_nb_streams);
57 qint32 getDeviceStreamIndex();
58 void setDeviceStreamIndex(qint32 device_stream_index);
61 void setSequence(qint32 sequence);
64 void setSerial(QString* serial);
66 qint64 getCenterFrequency();
67 void setCenterFrequency(qint64 center_frequency);
69 qint32 getBandwidth();
70 void setBandwidth(qint32 bandwidth);
73 void setState(QString* state);
76 virtual bool isSet()
override;
bool m_center_frequency_isSet
bool m_device_nb_streams_isSet
bool m_device_stream_index_isSet
qint32 device_stream_index