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.
swagger
sdrangel
code
qt5
client
SWGSoapySDRGainSetting.h
Go to the documentation of this file.
1
13
/*
14
* SWGSoapySDRGainSetting.h
15
*
16
* A named gain setting specified by its range
17
*/
18
19
#ifndef SWGSoapySDRGainSetting_H_
20
#define SWGSoapySDRGainSetting_H_
21
22
#include <QJsonObject>
23
24
25
#include "
SWGRangeFloat.h
"
26
#include <QString>
27
28
#include "
SWGObject.h
"
29
#include "
export.h
"
30
31
namespace
SWGSDRangel
{
32
33
class
SWG_API
SWGSoapySDRGainSetting
:
public
SWGObject
{
34
public
:
35
SWGSoapySDRGainSetting
();
36
SWGSoapySDRGainSetting
(QString* json);
37
virtual
~
SWGSoapySDRGainSetting
();
38
void
init();
39
void
cleanup();
40
41
virtual
QString asJson ()
override
;
42
virtual
QJsonObject* asJsonObject()
override
;
43
virtual
void
fromJsonObject(QJsonObject &json)
override
;
44
virtual
SWGSoapySDRGainSetting
* fromJson(QString &jsonString)
override
;
45
46
QString* getName();
47
void
setName(QString* name);
48
49
SWGRangeFloat
* getRange();
50
void
setRange(
SWGRangeFloat
* range);
51
52
53
virtual
bool
isSet()
override
;
54
55
private
:
56
QString*
name
;
57
bool
m_name_isSet
;
58
59
SWGRangeFloat
*
range
;
60
bool
m_range_isSet
;
61
62
};
63
64
}
65
66
#endif
/* SWGSoapySDRGainSetting_H_ */
SWGSDRangel::SWGSoapySDRGainSetting::m_name_isSet
bool m_name_isSet
Definition:
SWGSoapySDRGainSetting.h:57
SWGSDRangel::SWGSoapySDRGainSetting::range
SWGRangeFloat * range
Definition:
SWGSoapySDRGainSetting.h:59
export.h
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGSoapySDRGainSetting
Definition:
SWGSoapySDRGainSetting.h:33
SWGSDRangel::SWGSoapySDRGainSetting::name
QString * name
Definition:
SWGSoapySDRGainSetting.h:56
SWGRangeFloat.h
SWGSDRangel
Definition:
bfmdemod.h:51
SWGSDRangel::SWGRangeFloat
Definition:
SWGRangeFloat.h:31
SWGSDRangel::SWGSoapySDRGainSetting::m_range_isSet
bool m_range_isSet
Definition:
SWGSoapySDRGainSetting.h:60
Generated on Fri Aug 2 2019 17:56:35 for SDRAngel by
1.8.13