19 #include <QDataStream> 96 double realval, imagval;
128 if ((uintval > 1023) && (uintval < 65535)) {
149 QDataStream *stream =
new QDataStream(&data, QIODevice::WriteOnly);
158 QDataStream *stream =
new QDataStream(data);
166 QDataStream *stream =
new QDataStream(&data, QIODevice::WriteOnly);
175 QDataStream *stream =
new QDataStream(data);
void deserializeArgumentMap(const QByteArray &data, QMap< QString, QVariant > &map)
QMap< QString, double > m_tunableElements
void writeDouble(quint32 id, double value)
bool readS64(quint32 id, qint64 *result, qint64 def=0) const
QByteArray serialize() const
void writeBlob(quint32 id, const QByteArray &value)
bool readU32(quint32 id, quint32 *result, quint32 def=0) const
bool readDouble(quint32 id, double *result, double def=0) const
QByteArray serializeArgumentMap(const QMap< QString, QVariant > &map) const
bool readString(quint32 id, QString *result, const QString &def=QString::null) const
bool readBool(quint32 id, bool *result, bool def=false) const
QMap< QString, QVariant > m_streamArgSettings
bool readS32(quint32 id, qint32 *result, qint32 def=0) const
bool readBlob(quint32 id, QByteArray *result, const QByteArray &def=QByteArray()) const
uint16_t m_reverseAPIDeviceIndex
QMap< QString, double > m_individualGains
void deserializeNamedElementMap(const QByteArray &data, QMap< QString, double > &map)
QByteArray serializeNamedElementMap(const QMap< QString, double > &map) const
std::complex< double > m_iqCorrection
void writeS32(quint32 id, qint32 value)
qint64 m_transverterDeltaFrequency
quint32 getVersion() const
uint16_t m_reverseAPIPort
void writeU32(quint32 id, quint32 value)
quint64 m_centerFrequency
QString m_reverseAPIAddress
std::complex< double > m_dcCorrection
void writeBool(quint32 id, bool value)
void writeS64(quint32 id, qint64 value)
void writeString(quint32 id, const QString &value)
bool deserialize(const QByteArray &data)
const QByteArray & final()
QMap< QString, QVariant > m_deviceArgSettings