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
SWGGain.h
Go to the documentation of this file.
1
13
/*
14
* SWGGain.h
15
*
16
* A gain expressed in centi-Bels (tenths of dB)
17
*/
18
19
#ifndef SWGGain_H_
20
#define SWGGain_H_
21
22
#include <QJsonObject>
23
24
25
26
#include "
SWGObject.h
"
27
#include "
export.h
"
28
29
namespace
SWGSDRangel
{
30
31
class
SWG_API
SWGGain
:
public
SWGObject
{
32
public
:
33
SWGGain
();
34
SWGGain
(QString* json);
35
virtual
~
SWGGain
();
36
void
init();
37
void
cleanup();
38
39
virtual
QString asJson ()
override
;
40
virtual
QJsonObject* asJsonObject()
override
;
41
virtual
void
fromJsonObject(QJsonObject &json)
override
;
42
virtual
SWGGain
* fromJson(QString &jsonString)
override
;
43
44
qint32 getGainCb();
45
void
setGainCb(qint32 gain_cb);
46
47
48
virtual
bool
isSet()
override
;
49
50
private
:
51
qint32
gain_cb
;
52
bool
m_gain_cb_isSet
;
53
54
};
55
56
}
57
58
#endif
/* SWGGain_H_ */
export.h
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGGain::m_gain_cb_isSet
bool m_gain_cb_isSet
Definition:
SWGGain.h:52
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGGain
Definition:
SWGGain.h:31
SWGSDRangel::SWGGain::gain_cb
qint32 gain_cb
Definition:
SWGGain.h:51
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13