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
channeltx
localsource
localsourcesettings.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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 INCLUDE_LOCALSOURCESETTINGS_H_
19
#define INCLUDE_LOCALSOURCESETTINGS_H_
20
21
#include <QByteArray>
22
#include <QString>
23
24
class
Serializable
;
25
26
struct
LocalSourceSettings
27
{
28
uint32_t
m_localDeviceIndex
;
29
quint32
m_rgbColor
;
30
QString
m_title
;
31
uint32_t
m_log2Interp
;
32
uint32_t
m_filterChainHash
;
33
bool
m_useReverseAPI
;
34
QString
m_reverseAPIAddress
;
35
uint16_t
m_reverseAPIPort
;
36
uint16_t
m_reverseAPIDeviceIndex
;
37
uint16_t
m_reverseAPIChannelIndex
;
38
39
Serializable
*
m_channelMarker
;
40
41
LocalSourceSettings
();
42
void
resetToDefaults
();
43
void
setChannelMarker
(
Serializable
*channelMarker) { m_channelMarker = channelMarker; }
44
QByteArray
serialize
()
const
;
45
bool
deserialize
(
const
QByteArray& data);
46
};
47
48
#endif
/* INCLUDE_LOCALSOURCESETTINGS_H_ */
LocalSourceSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
localsourcesettings.h:36
LocalSourceSettings::m_reverseAPIChannelIndex
uint16_t m_reverseAPIChannelIndex
Definition:
localsourcesettings.h:37
LocalSourceSettings::m_log2Interp
uint32_t m_log2Interp
Definition:
localsourcesettings.h:31
LocalSourceSettings::m_channelMarker
Serializable * m_channelMarker
Definition:
localsourcesettings.h:39
LocalSourceSettings::resetToDefaults
void resetToDefaults()
Definition:
localsourcesettings.cpp:31
LocalSourceSettings::LocalSourceSettings
LocalSourceSettings()
Definition:
localsourcesettings.cpp:26
uint32_t
unsigned int uint32_t
Definition:
rtptypes_win.h:46
LocalSourceSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
localsourcesettings.h:35
LocalSourceSettings::serialize
QByteArray serialize() const
Definition:
localsourcesettings.cpp:46
LocalSourceSettings::m_title
QString m_title
Definition:
localsourcesettings.h:30
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
LocalSourceSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
localsourcesettings.h:34
LocalSourceSettings::setChannelMarker
void setChannelMarker(Serializable *channelMarker)
Definition:
localsourcesettings.h:43
LocalSourceSettings::m_localDeviceIndex
uint32_t m_localDeviceIndex
Definition:
localsourcesettings.h:28
Serializable
Definition:
serializable.h:21
LocalSourceSettings
Definition:
localsourcesettings.h:26
LocalSourceSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
localsourcesettings.cpp:63
LocalSourceSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
localsourcesettings.h:33
LocalSourceSettings::m_filterChainHash
uint32_t m_filterChainHash
Definition:
localsourcesettings.h:32
LocalSourceSettings::m_rgbColor
quint32 m_rgbColor
Definition:
localsourcesettings.h:29
Generated on Fri Aug 2 2019 17:56:30 for SDRAngel by
1.8.13