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
channelrx
localsink
localsinksettings.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_LOCALSINKSETTINGS_H_
19
#define INCLUDE_LOCALSINKSETTINGS_H_
20
21
#include <QByteArray>
22
#include <QString>
23
24
class
Serializable
;
25
26
struct
LocalSinkSettings
27
{
28
uint32_t
m_localDeviceIndex
;
29
quint32
m_rgbColor
;
30
QString
m_title
;
31
uint32_t
m_log2Decim
;
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
LocalSinkSettings
();
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_LOCALSINKSETTINGS_H_ */
LocalSinkSettings::setChannelMarker
void setChannelMarker(Serializable *channelMarker)
Definition:
localsinksettings.h:43
LocalSinkSettings::serialize
QByteArray serialize() const
Definition:
localsinksettings.cpp:46
LocalSinkSettings::m_log2Decim
uint32_t m_log2Decim
Definition:
localsinksettings.h:31
LocalSinkSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
localsinksettings.h:33
LocalSinkSettings
Definition:
localsinksettings.h:26
uint32_t
unsigned int uint32_t
Definition:
rtptypes_win.h:46
LocalSinkSettings::m_reverseAPIChannelIndex
uint16_t m_reverseAPIChannelIndex
Definition:
localsinksettings.h:37
LocalSinkSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
localsinksettings.cpp:63
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
LocalSinkSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
localsinksettings.h:35
LocalSinkSettings::resetToDefaults
void resetToDefaults()
Definition:
localsinksettings.cpp:31
LocalSinkSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
localsinksettings.h:36
Serializable
Definition:
serializable.h:21
LocalSinkSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
localsinksettings.h:34
LocalSinkSettings::m_channelMarker
Serializable * m_channelMarker
Definition:
localsinksettings.h:39
LocalSinkSettings::m_title
QString m_title
Definition:
localsinksettings.h:30
LocalSinkSettings::m_rgbColor
quint32 m_rgbColor
Definition:
localsinksettings.h:29
LocalSinkSettings::LocalSinkSettings
LocalSinkSettings()
Definition:
localsinksettings.cpp:26
LocalSinkSettings::m_localDeviceIndex
uint32_t m_localDeviceIndex
Definition:
localsinksettings.h:28
LocalSinkSettings::m_filterChainHash
uint32_t m_filterChainHash
Definition:
localsinksettings.h:32
Generated on Fri Aug 2 2019 17:56:30 for SDRAngel by
1.8.13