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
SWGDeviceState.h
Go to the documentation of this file.
1
13
/*
14
* SWGDeviceState.h
15
*
16
* Device running state
17
*/
18
19
#ifndef SWGDeviceState_H_
20
#define SWGDeviceState_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
SWGDeviceState
:
public
SWGObject
{
33
public
:
34
SWGDeviceState
();
35
SWGDeviceState
(QString* json);
36
virtual
~
SWGDeviceState
();
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
SWGDeviceState
* fromJson(QString &jsonString)
override
;
44
45
QString* getState();
46
void
setState(QString* state);
47
48
49
virtual
bool
isSet()
override
;
50
51
private
:
52
QString*
state
;
53
bool
m_state_isSet
;
54
55
};
56
57
}
58
59
#endif
/* SWGDeviceState_H_ */
SWGSDRangel::SWGDeviceState::m_state_isSet
bool m_state_isSet
Definition:
SWGDeviceState.h:53
export.h
SWGSDRangel::SWGDeviceState
Definition:
SWGDeviceState.h:32
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel
Definition:
bfmdemod.h:51
SWGSDRangel::SWGDeviceState::state
QString * state
Definition:
SWGDeviceState.h:52
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13