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
SWGFrequencyBand.h
Go to the documentation of this file.
1
13
/*
14
* SWGFrequencyBand.h
15
*
16
* A band of frequencies given its boudaries in Hertz (Hz)
17
*/
18
19
#ifndef SWGFrequencyBand_H_
20
#define SWGFrequencyBand_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
SWGFrequencyBand
:
public
SWGObject
{
33
public
:
34
SWGFrequencyBand
();
35
SWGFrequencyBand
(QString* json);
36
virtual
~
SWGFrequencyBand
();
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
SWGFrequencyBand
* fromJson(QString &jsonString)
override
;
44
45
QString* getName();
46
void
setName(QString* name);
47
48
qint32 getLowerBound();
49
void
setLowerBound(qint32 lower_bound);
50
51
qint32 getHigherBound();
52
void
setHigherBound(qint32 higher_bound);
53
54
55
virtual
bool
isSet()
override
;
56
57
private
:
58
QString*
name
;
59
bool
m_name_isSet
;
60
61
qint32
lower_bound
;
62
bool
m_lower_bound_isSet
;
63
64
qint32
higher_bound
;
65
bool
m_higher_bound_isSet
;
66
67
};
68
69
}
70
71
#endif
/* SWGFrequencyBand_H_ */
export.h
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGFrequencyBand::name
QString * name
Definition:
SWGFrequencyBand.h:58
SWGSDRangel::SWGFrequencyBand
Definition:
SWGFrequencyBand.h:32
SWGSDRangel::SWGFrequencyBand::m_lower_bound_isSet
bool m_lower_bound_isSet
Definition:
SWGFrequencyBand.h:62
SWGSDRangel::SWGFrequencyBand::m_higher_bound_isSet
bool m_higher_bound_isSet
Definition:
SWGFrequencyBand.h:65
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGFrequencyBand::lower_bound
qint32 lower_bound
Definition:
SWGFrequencyBand.h:61
SWGSDRangel::SWGFrequencyBand::higher_bound
qint32 higher_bound
Definition:
SWGFrequencyBand.h:64
SWGSDRangel
Definition:
bfmdemod.h:51
SWGSDRangel::SWGFrequencyBand::m_name_isSet
bool m_name_isSet
Definition:
SWGFrequencyBand.h:59
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13