SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
plugins
samplesource
kiwisdr
kiwisdrsettings.h
Go to the documentation of this file.
1
// Copyright (C) 2019 Vort //
3
// Copyright (C) 2019 Edouard Griffiths, F4EXB //
4
// //
5
// This program is free software; you can redistribute it and/or modify //
6
// it under the terms of the GNU General Public License as published by //
7
// the Free Software Foundation as version 3 of the License, or //
8
// (at your option) any later version. //
9
// //
10
// This program is distributed in the hope that it will be useful, //
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
13
// GNU General Public License V3 for more details. //
14
// //
15
// You should have received a copy of the GNU General Public License //
16
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
18
19
#ifndef _KIWISDR_KIWISDRSETTINGS_H_
20
#define _KIWISDR_KIWISDRSETTINGS_H_
21
22
#include <QString>
23
#include <QByteArray>
24
25
struct
KiwiSDRSettings
{
26
uint32_t
m_gain
;
27
bool
m_useAGC
;
28
bool
m_dcBlock
;
29
30
quint64
m_centerFrequency
;
31
QString
m_serverAddress
;
32
QString
m_fileRecordName
;
33
34
bool
m_useReverseAPI
;
35
QString
m_reverseAPIAddress
;
36
uint16_t
m_reverseAPIPort
;
37
uint16_t
m_reverseAPIDeviceIndex
;
38
39
KiwiSDRSettings
();
40
void
resetToDefaults
();
41
QByteArray
serialize
()
const
;
42
bool
deserialize
(
const
QByteArray& data);
43
};
44
45
#endif
/* _KIWISDR_KIWISDRSETTINGS_H_ */
KiwiSDRSettings::m_serverAddress
QString m_serverAddress
Definition:
kiwisdrsettings.h:31
KiwiSDRSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
kiwisdrsettings.h:34
KiwiSDRSettings::m_gain
uint32_t m_gain
Definition:
kiwisdrsettings.h:26
KiwiSDRSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
kiwisdrsettings.h:35
uint32_t
unsigned int uint32_t
Definition:
rtptypes_win.h:46
KiwiSDRSettings::resetToDefaults
void resetToDefaults()
Definition:
kiwisdrsettings.cpp:27
KiwiSDRSettings
Definition:
kiwisdrsettings.h:25
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
KiwiSDRSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
kiwisdrsettings.h:37
KiwiSDRSettings::m_fileRecordName
QString m_fileRecordName
Definition:
kiwisdrsettings.h:32
KiwiSDRSettings::m_dcBlock
bool m_dcBlock
Definition:
kiwisdrsettings.h:28
KiwiSDRSettings::m_useAGC
bool m_useAGC
Definition:
kiwisdrsettings.h:27
KiwiSDRSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
kiwisdrsettings.cpp:60
KiwiSDRSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
kiwisdrsettings.h:36
KiwiSDRSettings::m_centerFrequency
quint64 m_centerFrequency
Definition:
kiwisdrsettings.h:30
KiwiSDRSettings::serialize
QByteArray serialize() const
Definition:
kiwisdrsettings.cpp:44
KiwiSDRSettings::KiwiSDRSettings
KiwiSDRSettings()
Definition:
kiwisdrsettings.cpp:22
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13