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
filesource
filesourcesettings.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 PLUGINS_CHANNELTX_FILESOURCE_FILESOURCESETTINGS_H_
19
#define PLUGINS_CHANNELTX_FILESOURCE_FILESOURCESETTINGS_H_
20
21
#include <QString>
22
#include <QByteArray>
23
24
class
Serializable
;
25
26
struct
FileSourceSettings
27
{
28
QString
m_fileName
;
29
bool
m_loop
;
30
uint32_t
m_log2Interp
;
31
uint32_t
m_filterChainHash
;
32
int
m_gainDB
;
33
quint32
m_rgbColor
;
34
QString
m_title
;
35
bool
m_useReverseAPI
;
36
QString
m_reverseAPIAddress
;
37
uint16_t
m_reverseAPIPort
;
38
uint16_t
m_reverseAPIDeviceIndex
;
39
uint16_t
m_reverseAPIChannelIndex
;
40
41
Serializable
*
m_channelMarker
;
42
43
FileSourceSettings
();
44
void
resetToDefaults
();
45
void
setChannelMarker
(
Serializable
*channelMarker) { m_channelMarker = channelMarker; }
46
QByteArray
serialize
()
const
;
47
bool
deserialize
(
const
QByteArray& data);
48
};
49
50
#endif
/* PLUGINS_CHANNELTX_FILESOURCE_FILESOURCESETTINGS_H_ */
FileSourceSettings::m_loop
bool m_loop
Definition:
filesourcesettings.h:29
FileSourceSettings::deserialize
bool deserialize(const QByteArray &data)
Definition:
filesourcesettings.cpp:67
FileSourceSettings::m_reverseAPIAddress
QString m_reverseAPIAddress
Definition:
filesourcesettings.h:36
FileSourceSettings
Definition:
filesourcesettings.h:26
FileSourceSettings::m_filterChainHash
uint32_t m_filterChainHash
Definition:
filesourcesettings.h:31
FileSourceSettings::m_gainDB
int m_gainDB
Definition:
filesourcesettings.h:32
FileSourceSettings::m_useReverseAPI
bool m_useReverseAPI
Definition:
filesourcesettings.h:35
FileSourceSettings::FileSourceSettings
FileSourceSettings()
Definition:
filesourcesettings.cpp:26
uint32_t
unsigned int uint32_t
Definition:
rtptypes_win.h:46
FileSourceSettings::serialize
QByteArray serialize() const
Definition:
filesourcesettings.cpp:48
uint16_t
unsigned short uint16_t
Definition:
rtptypes_win.h:44
FileSourceSettings::m_fileName
QString m_fileName
Definition:
filesourcesettings.h:28
FileSourceSettings::m_title
QString m_title
Definition:
filesourcesettings.h:34
FileSourceSettings::m_rgbColor
quint32 m_rgbColor
Definition:
filesourcesettings.h:33
FileSourceSettings::m_log2Interp
uint32_t m_log2Interp
Definition:
filesourcesettings.h:30
FileSourceSettings::m_reverseAPIChannelIndex
uint16_t m_reverseAPIChannelIndex
Definition:
filesourcesettings.h:39
Serializable
Definition:
serializable.h:21
FileSourceSettings::m_reverseAPIDeviceIndex
uint16_t m_reverseAPIDeviceIndex
Definition:
filesourcesettings.h:38
FileSourceSettings::resetToDefaults
void resetToDefaults()
Definition:
filesourcesettings.cpp:31
FileSourceSettings::m_reverseAPIPort
uint16_t m_reverseAPIPort
Definition:
filesourcesettings.h:37
FileSourceSettings::m_channelMarker
Serializable * m_channelMarker
Definition:
filesourcesettings.h:41
FileSourceSettings::setChannelMarker
void setChannelMarker(Serializable *channelMarker)
Definition:
filesourcesettings.h:45
Generated on Fri Aug 2 2019 17:56:30 for SDRAngel by
1.8.13