|  | 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. | 
#include <SWGComplex.h>
 Inheritance diagram for SWGSDRangel::SWGComplex:
 Inheritance diagram for SWGSDRangel::SWGComplex: Collaboration diagram for SWGSDRangel::SWGComplex:
 Collaboration diagram for SWGSDRangel::SWGComplex:| Public Member Functions | |
| SWGComplex () | |
| SWGComplex (QString *json) | |
| virtual | ~SWGComplex () | 
| void | init () | 
| void | cleanup () | 
| virtual QString | asJson () override | 
| virtual QJsonObject * | asJsonObject () override | 
| virtual void | fromJsonObject (QJsonObject &json) override | 
| virtual SWGComplex * | fromJson (QString &jsonString) override | 
| float | getReal () | 
| void | setReal (float real) | 
| float | getImag () | 
| void | setImag (float imag) | 
| virtual bool | isSet () override | 
|  Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () | 
| Private Attributes | |
| float | real | 
| bool | m_real_isSet | 
| float | imag | 
| bool | m_imag_isSet | 
Definition at line 31 of file SWGComplex.h.
| SWGSDRangel::SWGComplex::SWGComplex | ( | ) | 
Definition at line 30 of file SWGComplex.cpp.
References imag, m_imag_isSet, m_real_isSet, and real.
| SWGSDRangel::SWGComplex::SWGComplex | ( | QString * | json | ) | 
Definition at line 25 of file SWGComplex.cpp.
References fromJson(), and init().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Definition at line 37 of file SWGComplex.cpp.
References cleanup().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | overridevirtual | 
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 73 of file SWGComplex.cpp.
References asJsonObject().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | overridevirtual | 
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 84 of file SWGComplex.cpp.
References imag, m_imag_isSet, m_real_isSet, and real.
Referenced by asJson().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void SWGSDRangel::SWGComplex::cleanup | ( | ) | 
Definition at line 50 of file SWGComplex.cpp.
Referenced by ~SWGComplex().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overridevirtual | 
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 56 of file SWGComplex.cpp.
References fromJsonObject().
Referenced by SWGComplex().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overridevirtual | 
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 65 of file SWGComplex.cpp.
References imag, real, and SWGSDRangel::setValue().
Referenced by fromJson().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| float SWGSDRangel::SWGComplex::getImag | ( | ) | 
Definition at line 107 of file SWGComplex.cpp.
References imag.
Referenced by SoapySDROutput::webapiSettingsPutPatch(), and SoapySDRInput::webapiSettingsPutPatch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| float SWGSDRangel::SWGComplex::getReal | ( | ) | 
Definition at line 97 of file SWGComplex.cpp.
References real.
Referenced by SoapySDROutput::webapiSettingsPutPatch(), and SoapySDRInput::webapiSettingsPutPatch().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void SWGSDRangel::SWGComplex::init | ( | ) | 
Definition at line 42 of file SWGComplex.cpp.
References imag, m_imag_isSet, m_real_isSet, and real.
Referenced by SWGComplex().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overridevirtual | 
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 118 of file SWGComplex.cpp.
References m_imag_isSet, and m_real_isSet.
Referenced by SWGSDRangel::SWGSoapySDRInputSettings::asJsonObject(), SWGSDRangel::SWGSoapySDROutputSettings::asJsonObject(), SWGSDRangel::SWGSoapySDROutputSettings::isSet(), and SWGSDRangel::SWGSoapySDRInputSettings::isSet().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void SWGSDRangel::SWGComplex::setImag | ( | float | imag | ) | 
Definition at line 111 of file SWGComplex.cpp.
References imag, and m_imag_isSet.
Referenced by SoapySDROutput::webapiFormatDeviceSettings(), SoapySDRInput::webapiFormatDeviceSettings(), SoapySDROutput::webapiReverseSendSettings(), and SoapySDRInput::webapiReverseSendSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void SWGSDRangel::SWGComplex::setReal | ( | float | real | ) | 
Definition at line 101 of file SWGComplex.cpp.
References m_real_isSet, and real.
Referenced by SoapySDROutput::webapiFormatDeviceSettings(), SoapySDRInput::webapiFormatDeviceSettings(), SoapySDROutput::webapiReverseSendSettings(), and SoapySDRInput::webapiReverseSendSettings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 57 of file SWGComplex.h.
Referenced by asJsonObject(), fromJsonObject(), getImag(), init(), setImag(), and SWGComplex().
| 
 | private | 
Definition at line 58 of file SWGComplex.h.
Referenced by asJsonObject(), init(), isSet(), setImag(), and SWGComplex().
| 
 | private | 
Definition at line 55 of file SWGComplex.h.
Referenced by asJsonObject(), init(), isSet(), setReal(), and SWGComplex().
| 
 | private | 
Definition at line 54 of file SWGComplex.h.
Referenced by asJsonObject(), fromJsonObject(), getReal(), init(), setReal(), and SWGComplex().
 1.8.13
 1.8.13