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
perseus
perseussettings.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Edouard Griffiths, F4EXB //
3
// //
4
// This program is free software; you can redistribute it and/or modify //
5
// it under the terms of the GNU General Public License as published by //
6
// the Free Software Foundation as version 3 of the License, or //
7
// (at your option) any later version. //
8
// //
9
// This program is distributed in the hope that it will be useful, //
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
12
// GNU General Public License V3 for more details. //
13
// //
14
// You should have received a copy of the GNU General Public License //
15
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
17
18
#ifndef PLUGINS_SAMPLESOURCE_PERSEUS_PERSEUSSETTINGS_H_
19
#define PLUGINS_SAMPLESOURCE_PERSEUS_PERSEUSSETTINGS_H_
20
21
#include <QtGlobal>
22
#include <QString>
23
24
struct
PerseusSettings
25
{
26
typedef
enum
27
{
28
Attenuator_None
,
29
Attenuator_10dB
,
30
Attenuator_20dB
,
31
Attenuator_30dB
,
32
Attenuator_last
33
}
Attenuator
;
34
35
quint64
m_centerFrequency
;
36
qint32
m_LOppmTenths
;
37
quint32
m_devSampleRateIndex
;
38
quint32
m_log2Decim
;
39
bool
m_transverterMode
;
40
qint64
m_transverterDeltaFrequency
;
41
bool
m_adcDither
;
42
bool
m_adcPreamp
;
43
bool
m_wideBand
;
44
Attenuator
m_attenuator
;
45
QString
m_fileRecordName
;
46
bool
m_useReverseAPI
;
47
QString
m_reverseAPIAddress
;
48
uint16_t
m_reverseAPIPort
;
49
uint16_t
m_reverseAPIDeviceIndex
;
50
51
PerseusSettings
();
52
void
resetToDefaults
();
53
QByteArray
serialize
()
const
;
54
bool
deserialize
(
const
QByteArray& data);
55
};
56
57
58
59
#endif
/* PLUGINS_SAMPLESOURCE_PERSEUS_PERSEUSSETTINGS_H_ */
PerseusSettings::m_transverterDeltaFrequency
qint64 m_transverterDeltaFrequency
Definition:
perseussettings.h:40
PerseusSettings::m_attenuator
Attenuator m_attenuator
Definition:
perseussettings.h:44
PerseusSettings::Attenuator_last
Definition:
perseussettings.h:32
PerseusSettings::m_devSampleRateIndex
quint32 m_devSampleRateIndex
Definition:
perseussettings.h:37
PerseusSettings::m_log2Decim
quint32 m_log2Decim
Definition:
perseussettings.h:38
PerseusSettings::m_fileRecordName
QString m_fileRecordName
Definition:
perseussettings.h:45
PerseusSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
perseussettings.h:49
PerseusSettings::Attenuator
Attenuator
Definition:
perseussettings.h:26
PerseusSettings::Attenuator_10dB
Definition:
perseussettings.h:29
PerseusSettings::Attenuator_None
Definition:
perseussettings.h:28
PerseusSettings::m_adcPreamp
bool m_adcPreamp
Definition:
perseussettings.h:42
PerseusSettings::m_centerFrequency
quint64 m_centerFrequency
Definition:
perseussettings.h:35
PerseusSettings::serialize
QByteArray serialize() const
Definition:
perseussettings.cpp:46
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
PerseusSettings::m_LOppmTenths
qint32 m_LOppmTenths
Definition:
perseussettings.h:36
PerseusSettings::m_adcDither
bool m_adcDither
Definition:
perseussettings.h:41
PerseusSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
perseussettings.h:47
PerseusSettings::m_wideBand
bool m_wideBand
Definition:
perseussettings.h:43
PerseusSettings::PerseusSettings
PerseusSettings()
Definition:
perseussettings.cpp:22
PerseusSettings::Attenuator_30dB
Definition:
perseussettings.h:31
PerseusSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
perseussettings.h:46
PerseusSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
perseussettings.cpp:67
PerseusSettings::resetToDefaults
void resetToDefaults()
Definition:
perseussettings.cpp:27
PerseusSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
perseussettings.h:48
PerseusSettings
Definition:
perseussettings.h:24
PerseusSettings::m_transverterMode
bool m_transverterMode
Definition:
perseussettings.h:39
PerseusSettings::Attenuator_20dB
Definition:
perseussettings.h:30
Generated on Fri Aug 2 2019 17:56:32 for SDRAngel by
1.8.13