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
SWGPlutoSdrInputReport.h
Go to the documentation of this file.
1
13
/*
14
* SWGPlutoSdrInputReport.h
15
*
16
* PlutoSDR
17
*/
18
19
#ifndef SWGPlutoSdrInputReport_H_
20
#define SWGPlutoSdrInputReport_H_
21
22
#include <QJsonObject>
23
24
25
#include <QString>
26
27
#include "
SWGObject.h
"
28
#include "
export.h
"
29
30
namespace
SWGSDRangel
{
31
32
class
SWG_API
SWGPlutoSdrInputReport
:
public
SWGObject
{
33
public
:
34
SWGPlutoSdrInputReport
();
35
SWGPlutoSdrInputReport
(QString* json);
36
virtual
~
SWGPlutoSdrInputReport
();
37
void
init();
38
void
cleanup();
39
40
virtual
QString asJson ()
override
;
41
virtual
QJsonObject* asJsonObject()
override
;
42
virtual
void
fromJsonObject(QJsonObject &json)
override
;
43
virtual
SWGPlutoSdrInputReport
* fromJson(QString &jsonString)
override
;
44
45
qint32 getAdcRate();
46
void
setAdcRate(qint32 adc_rate);
47
48
QString* getRssi();
49
void
setRssi(QString* rssi);
50
51
qint32 getGainDb();
52
void
setGainDb(qint32 gain_db);
53
54
float
getTemperature();
55
void
setTemperature(
float
temperature);
56
57
58
virtual
bool
isSet()
override
;
59
60
private
:
61
qint32
adc_rate
;
62
bool
m_adc_rate_isSet
;
63
64
QString*
rssi
;
65
bool
m_rssi_isSet
;
66
67
qint32
gain_db
;
68
bool
m_gain_db_isSet
;
69
70
float
temperature
;
71
bool
m_temperature_isSet
;
72
73
};
74
75
}
76
77
#endif
/* SWGPlutoSdrInputReport_H_ */
export.h
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGPlutoSdrInputReport::m_gain_db_isSet
bool m_gain_db_isSet
Definition:
SWGPlutoSdrInputReport.h:68
SWGSDRangel::SWGPlutoSdrInputReport
Definition:
SWGPlutoSdrInputReport.h:32
SWGSDRangel::SWGPlutoSdrInputReport::m_adc_rate_isSet
bool m_adc_rate_isSet
Definition:
SWGPlutoSdrInputReport.h:62
SWGSDRangel::SWGPlutoSdrInputReport::temperature
float temperature
Definition:
SWGPlutoSdrInputReport.h:70
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGPlutoSdrInputReport::rssi
QString * rssi
Definition:
SWGPlutoSdrInputReport.h:64
SWGSDRangel::SWGPlutoSdrInputReport::adc_rate
qint32 adc_rate
Definition:
SWGPlutoSdrInputReport.h:61
SWGSDRangel::SWGPlutoSdrInputReport::m_rssi_isSet
bool m_rssi_isSet
Definition:
SWGPlutoSdrInputReport.h:65
SWGSDRangel::SWGPlutoSdrInputReport::m_temperature_isSet
bool m_temperature_isSet
Definition:
SWGPlutoSdrInputReport.h:71
SWGSDRangel::SWGPlutoSdrInputReport::gain_db
qint32 gain_db
Definition:
SWGPlutoSdrInputReport.h:67
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:35 for SDRAngel by
1.8.13