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
SWGPresetTransfer.h
Go to the documentation of this file.
1
13
/*
14
* SWGPresetTransfer.h
15
*
16
* Preset transfer to or from a device set
17
*/
18
19
#ifndef SWGPresetTransfer_H_
20
#define SWGPresetTransfer_H_
21
22
#include <QJsonObject>
23
24
25
#include "
SWGPresetIdentifier.h
"
26
27
#include "
SWGObject.h
"
28
#include "
export.h
"
29
30
namespace
SWGSDRangel
{
31
32
class
SWG_API
SWGPresetTransfer
:
public
SWGObject
{
33
public
:
34
SWGPresetTransfer
();
35
SWGPresetTransfer
(QString* json);
36
virtual
~
SWGPresetTransfer
();
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
SWGPresetTransfer
* fromJson(QString &jsonString)
override
;
44
45
qint32 getDeviceSetIndex();
46
void
setDeviceSetIndex(qint32 device_set_index);
47
48
SWGPresetIdentifier
* getPreset();
49
void
setPreset(
SWGPresetIdentifier
* preset);
50
51
52
virtual
bool
isSet()
override
;
53
54
private
:
55
qint32
device_set_index
;
56
bool
m_device_set_index_isSet
;
57
58
SWGPresetIdentifier
*
preset
;
59
bool
m_preset_isSet
;
60
61
};
62
63
}
64
65
#endif
/* SWGPresetTransfer_H_ */
SWGSDRangel::SWGPresetTransfer::m_preset_isSet
bool m_preset_isSet
Definition:
SWGPresetTransfer.h:59
export.h
SWGSDRangel::SWGPresetTransfer::preset
SWGPresetIdentifier * preset
Definition:
SWGPresetTransfer.h:58
SWGObject.h
SWGSDRangel::SWGPresetIdentifier
Definition:
SWGPresetIdentifier.h:32
SWGSDRangel::SWGPresetTransfer
Definition:
SWGPresetTransfer.h:32
SWGSDRangel::SWGPresetTransfer::device_set_index
qint32 device_set_index
Definition:
SWGPresetTransfer.h:55
SWGPresetIdentifier.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel
Definition:
bfmdemod.h:51
SWGSDRangel::SWGPresetTransfer::m_device_set_index_isSet
bool m_device_set_index_isSet
Definition:
SWGPresetTransfer.h:56
Generated on Fri Aug 2 2019 17:56:35 for SDRAngel by
1.8.13