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.
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 
33 {
36  QString m_dataAddress;
38  quint32 m_rgbColor;
39  QString m_title;
47 
49 
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_ */
uint16_t m_reverseAPIDeviceIndex
bool deserialize(const QByteArray &data)
unsigned int uint32_t
Definition: rtptypes_win.h:46
uint16_t m_reverseAPIChannelIndex
unsigned short uint16_t
Definition: rtptypes_win.h:44
Serializable * m_channelMarker
QByteArray serialize() const
void setChannelMarker(Serializable *channelMarker)