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