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
SWGFrequencyRange.h
Go to the documentation of this file.
1
13
/*
14
* SWGFrequencyRange.h
15
*
16
* An frequency range with 64 bit support for min and max
17
*/
18
19
#ifndef SWGFrequencyRange_H_
20
#define SWGFrequencyRange_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
SWGFrequencyRange
:
public
SWGObject
{
32
public
:
33
SWGFrequencyRange
();
34
SWGFrequencyRange
(QString* json);
35
virtual
~
SWGFrequencyRange
();
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
SWGFrequencyRange
* fromJson(QString &jsonString)
override
;
43
44
qint64 getMin();
45
void
setMin(qint64
min
);
46
47
qint64 getMax();
48
void
setMax(qint64
max
);
49
50
qint32 getStep();
51
void
setStep(qint32 step);
52
53
54
virtual
bool
isSet()
override
;
55
56
private
:
57
qint64
min
;
58
bool
m_min_isSet
;
59
60
qint64
max
;
61
bool
m_max_isSet
;
62
63
qint32
step
;
64
bool
m_step_isSet
;
65
66
};
67
68
}
69
70
#endif
/* SWGFrequencyRange_H_ */
SWGSDRangel::SWGFrequencyRange::min
qint64 min
Definition:
SWGFrequencyRange.h:57
SWGSDRangel::SWGFrequencyRange::m_min_isSet
bool m_min_isSet
Definition:
SWGFrequencyRange.h:58
SWGSDRangel::SWGFrequencyRange::m_step_isSet
bool m_step_isSet
Definition:
SWGFrequencyRange.h:64
export.h
SWGSDRangel::SWGFrequencyRange::step
qint32 step
Definition:
SWGFrequencyRange.h:63
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGFrequencyRange::m_max_isSet
bool m_max_isSet
Definition:
SWGFrequencyRange.h:61
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGFrequencyRange
Definition:
SWGFrequencyRange.h:31
SWGSDRangel::SWGFrequencyRange::max
qint64 max
Definition:
SWGFrequencyRange.h:60
leansdr::max
T max(const T &x, const T &y)
Definition:
framework.h:446
SWGSDRangel
Definition:
bfmdemod.h:51
leansdr::min
T min(const T &x, const T &y)
Definition:
framework.h:440
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13