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
SWGPresetItem.h
Go to the documentation of this file.
1
13
/*
14
* SWGPresetItem.h
15
*
16
* Settings preset item
17
*/
18
19
#ifndef SWGPresetItem_H_
20
#define SWGPresetItem_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
SWGPresetItem
:
public
SWGObject
{
33
public
:
34
SWGPresetItem
();
35
SWGPresetItem
(QString* json);
36
virtual
~
SWGPresetItem
();
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
SWGPresetItem
* fromJson(QString &jsonString)
override
;
44
45
qint64 getCenterFrequency();
46
void
setCenterFrequency(qint64 center_frequency);
47
48
QString* getType();
49
void
setType(QString* type);
50
51
QString* getName();
52
void
setName(QString* name);
53
54
55
virtual
bool
isSet()
override
;
56
57
private
:
58
qint64
center_frequency
;
59
bool
m_center_frequency_isSet
;
60
61
QString*
type
;
62
bool
m_type_isSet
;
63
64
QString*
name
;
65
bool
m_name_isSet
;
66
67
};
68
69
}
70
71
#endif
/* SWGPresetItem_H_ */
SWGSDRangel::SWGPresetItem::m_type_isSet
bool m_type_isSet
Definition:
SWGPresetItem.h:62
SWGSDRangel::SWGPresetItem::m_center_frequency_isSet
bool m_center_frequency_isSet
Definition:
SWGPresetItem.h:59
export.h
SWGSDRangel::SWGPresetItem::center_frequency
qint64 center_frequency
Definition:
SWGPresetItem.h:58
SWGSDRangel::SWGPresetItem::name
QString * name
Definition:
SWGPresetItem.h:64
SWGObject.h
SWGSDRangel::SWGPresetItem::type
QString * type
Definition:
SWGPresetItem.h:61
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGPresetItem::m_name_isSet
bool m_name_isSet
Definition:
SWGPresetItem.h:65
SWGSDRangel
Definition:
bfmdemod.h:51
SWGSDRangel::SWGPresetItem
Definition:
SWGPresetItem.h:32
Generated on Fri Aug 2 2019 17:56:35 for SDRAngel by
1.8.13