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
SWGFrequency.h
Go to the documentation of this file.
1
13
/*
14
* SWGFrequency.h
15
*
16
* A frequency expressed in Hertz (Hz)
17
*/
18
19
#ifndef SWGFrequency_H_
20
#define SWGFrequency_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
SWGFrequency
:
public
SWGObject
{
32
public
:
33
SWGFrequency
();
34
SWGFrequency
(QString* json);
35
virtual
~
SWGFrequency
();
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
SWGFrequency
* fromJson(QString &jsonString)
override
;
43
44
qint32 getFrequency();
45
void
setFrequency(qint32 frequency);
46
47
48
virtual
bool
isSet()
override
;
49
50
private
:
51
qint32
frequency
;
52
bool
m_frequency_isSet
;
53
54
};
55
56
}
57
58
#endif
/* SWGFrequency_H_ */
export.h
SWGSDRangel::SWGFrequency
Definition:
SWGFrequency.h:31
SWGSDRangel::SWGFrequency::frequency
qint32 frequency
Definition:
SWGFrequency.h:51
SWGObject.h
SWGSDRangel::SWGFrequency::m_frequency_isSet
bool m_frequency_isSet
Definition:
SWGFrequency.h:52
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13