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
SWGLocationInformation.h
Go to the documentation of this file.
1
13
/*
14
* SWGLocationInformation.h
15
*
16
* Instance geolocation information
17
*/
18
19
#ifndef SWGLocationInformation_H_
20
#define SWGLocationInformation_H_
21
22
#include <QJsonObject>
23
24
25
26
#include "
SWGObject.h
"
27
#include "
export.h
"
28
29
namespace
SWGSDRangel
{
30
31
class
SWG_API
SWGLocationInformation
:
public
SWGObject
{
32
public
:
33
SWGLocationInformation
();
34
SWGLocationInformation
(QString* json);
35
virtual
~
SWGLocationInformation
();
36
void
init();
37
void
cleanup();
38
39
virtual
QString asJson ()
override
;
40
virtual
QJsonObject* asJsonObject()
override
;
41
virtual
void
fromJsonObject(QJsonObject &json)
override
;
42
virtual
SWGLocationInformation
* fromJson(QString &jsonString)
override
;
43
44
float
getLatitude();
45
void
setLatitude(
float
latitude);
46
47
float
getLongitude();
48
void
setLongitude(
float
longitude);
49
50
51
virtual
bool
isSet()
override
;
52
53
private
:
54
float
latitude
;
55
bool
m_latitude_isSet
;
56
57
float
longitude
;
58
bool
m_longitude_isSet
;
59
60
};
61
62
}
63
64
#endif
/* SWGLocationInformation_H_ */
export.h
SWGSDRangel::SWGLocationInformation::latitude
float latitude
Definition:
SWGLocationInformation.h:54
SWGObject.h
SWGSDRangel::SWGObject
Definition:
SWGObject.h:20
SWGSDRangel::SWGLocationInformation
Definition:
SWGLocationInformation.h:31
SWGSDRangel::SWGLocationInformation::m_longitude_isSet
bool m_longitude_isSet
Definition:
SWGLocationInformation.h:58
SWG_API
#define SWG_API
Definition:
export.h:124
SWGSDRangel::SWGLocationInformation::m_latitude_isSet
bool m_latitude_isSet
Definition:
SWGLocationInformation.h:55
SWGSDRangel::SWGLocationInformation::longitude
float longitude
Definition:
SWGLocationInformation.h:57
SWGSDRangel
Definition:
bfmdemod.h:51
Generated on Fri Aug 2 2019 17:56:34 for SDRAngel by
1.8.13