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.
ammodsettings.h
Go to the documentation of this file.
1 // Copyright (C) 2016 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_MODAM_AMMODSETTINGS_H_
19 #define PLUGINS_CHANNELTX_MODAM_AMMODSETTINGS_H_
20 
21 #include <QByteArray>
22 
23 class Serializable;
24 
26 {
27  typedef enum
28  {
34  } AMModInputAF;
35 
38  float m_modFactor;
42  bool m_playLoop;
43  quint32 m_rgbColor;
44  QString m_title;
45  AMModInputAF m_modAFInput;
55 
58 
59  AMModSettings();
60  void resetToDefaults();
61  void setChannelMarker(Serializable *channelMarker) { m_channelMarker = channelMarker; }
62  void setCWKeyerGUI(Serializable *cwKeyerGUI) { m_cwKeyerGUI = cwKeyerGUI; }
63  QByteArray serialize() const;
64  bool deserialize(const QByteArray& data);
65 };
66 
67 
68 
69 #endif /* PLUGINS_CHANNELTX_MODAM_AMMODSETTINGS_H_ */
float m_feedbackVolumeFactor
Definition: ammodsettings.h:48
bool m_feedbackAudioEnable
Definition: ammodsettings.h:49
uint16_t m_reverseAPIDeviceIndex
Definition: ammodsettings.h:53
QByteArray serialize() const
QString m_reverseAPIAddress
Definition: ammodsettings.h:51
Serializable * m_cwKeyerGUI
Definition: ammodsettings.h:57
Serializable * m_channelMarker
Definition: ammodsettings.h:56
float m_volumeFactor
Definition: ammodsettings.h:40
bool deserialize(const QByteArray &data)
void setChannelMarker(Serializable *channelMarker)
Definition: ammodsettings.h:61
void resetToDefaults()
unsigned short uint16_t
Definition: rtptypes_win.h:44
quint32 m_rgbColor
Definition: ammodsettings.h:43
QString m_feedbackAudioDeviceName
This is the audio device you send the audio samples to for audio feedback.
Definition: ammodsettings.h:47
void setCWKeyerGUI(Serializable *cwKeyerGUI)
Definition: ammodsettings.h:62
uint16_t m_reverseAPIChannelIndex
Definition: ammodsettings.h:54
QString m_title
Definition: ammodsettings.h:44
qint64 m_inputFrequencyOffset
Definition: ammodsettings.h:36
QString m_audioDeviceName
This is the audio device you get the audio samples from.
Definition: ammodsettings.h:46
bool m_useReverseAPI
Definition: ammodsettings.h:50
float m_toneFrequency
Definition: ammodsettings.h:39
AMModInputAF m_modAFInput
Definition: ammodsettings.h:45
float Real
Definition: dsptypes.h:42
uint16_t m_reverseAPIPort
Definition: ammodsettings.h:52