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
remotesink
remotesinksettings.h
Go to the documentation of this file.
1
// Copyright (C) 2018-2019 Edouard Griffiths, F4EXB. //
3
// //
4
// Remote sink channel (Rx) UDP sender thread //
5
// //
6
// SDRangel can work as a detached SDR front end. With this plugin it can //
7
// sends the I/Q samples stream to another SDRangel instance via UDP. //
8
// It is controlled via a Web REST API. //
9
// //
10
// This program is free software; you can redistribute it and/or modify //
11
// it under the terms of the GNU General Public License as published by //
12
// the Free Software Foundation as version 3 of the License, or //
13
// (at your option) any later version. //
14
// //
15
// This program is distributed in the hope that it will be useful, //
16
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
17
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
18
// GNU General Public License V3 for more details. //
19
// //
20
// You should have received a copy of the GNU General Public License //
21
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
23
24
#ifndef INCLUDE_REMOTECHANNELSINKSETTINGS_H_
25
#define INCLUDE_REMOTECHANNELSINKSETTINGS_H_
26
27
#include <QByteArray>
28
#include <QString>
29
30
class
Serializable
;
31
32
struct
RemoteSinkSettings
33
{
34
uint16_t
m_nbFECBlocks
;
35
uint32_t
m_txDelay
;
36
QString
m_dataAddress
;
37
uint16_t
m_dataPort
;
38
quint32
m_rgbColor
;
39
QString
m_title
;
40
uint32_t
m_log2Decim
;
41
uint32_t
m_filterChainHash
;
42
bool
m_useReverseAPI
;
43
QString
m_reverseAPIAddress
;
44
uint16_t
m_reverseAPIPort
;
45
uint16_t
m_reverseAPIDeviceIndex
;
46
uint16_t
m_reverseAPIChannelIndex
;
47
48
Serializable
*
m_channelMarker
;
49
50
RemoteSinkSettings
();
51
void
resetToDefaults
();
52
void
setChannelMarker
(
Serializable
*channelMarker) { m_channelMarker = channelMarker; }
53
QByteArray
serialize
()
const
;
54
bool
deserialize
(
const
QByteArray& data);
55
};
56
57
#endif
/* INCLUDE_REMOTECHANNELSINKSETTINGS_H_ */
RemoteSinkSettings::m_rgbColor
quint32 m_rgbColor
Definition:
remotesinksettings.h:38
RemoteSinkSettings::m_dataAddress
QString m_dataAddress
Definition:
remotesinksettings.h:36
RemoteSinkSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
remotesinksettings.h:45
RemoteSinkSettings::m_txDelay
uint32_t m_txDelay
Definition:
remotesinksettings.h:35
RemoteSinkSettings::m_filterChainHash
uint32_t m_filterChainHash
Definition:
remotesinksettings.h:41
RemoteSinkSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
remotesinksettings.cpp:75
RemoteSinkSettings::m_log2Decim
uint32_t m_log2Decim
Definition:
remotesinksettings.h:40
RemoteSinkSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
remotesinksettings.h:42
RemoteSinkSettings::m_nbFECBlocks
uint16_t m_nbFECBlocks
Definition:
remotesinksettings.h:34
uint32_t
unsigned int uint32_t
Definition:
rtptypes_win.h:46
RemoteSinkSettings::m_reverseAPIChannelIndex
uint16_t m_reverseAPIChannelIndex
Definition:
remotesinksettings.h:46
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
Serializable
Definition:
serializable.h:21
RemoteSinkSettings
Definition:
remotesinksettings.h:32
RemoteSinkSettings::m_channelMarker
Serializable * m_channelMarker
Definition:
remotesinksettings.h:48
RemoteSinkSettings::serialize
QByteArray serialize() const
Definition:
remotesinksettings.cpp:55
RemoteSinkSettings::m_dataPort
uint16_t m_dataPort
Definition:
remotesinksettings.h:37
RemoteSinkSettings::m_title
QString m_title
Definition:
remotesinksettings.h:39
RemoteSinkSettings::resetToDefaults
void resetToDefaults()
Definition:
remotesinksettings.cpp:37
RemoteSinkSettings::RemoteSinkSettings
RemoteSinkSettings()
Definition:
remotesinksettings.cpp:32
RemoteSinkSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
remotesinksettings.h:43
RemoteSinkSettings::setChannelMarker
void setChannelMarker(Serializable *channelMarker)
Definition:
remotesinksettings.h:52
RemoteSinkSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
remotesinksettings.h:44
Generated on Fri Aug 2 2019 17:56:30 for SDRAngel by
1.8.13