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 <SWGDeviceState.h>
Public Member Functions | |
SWGDeviceState () | |
SWGDeviceState (QString *json) | |
virtual | ~SWGDeviceState () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGDeviceState * | fromJson (QString &jsonString) override |
QString * | getState () |
void | setState (QString *state) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
QString * | state |
bool | m_state_isSet |
Definition at line 32 of file SWGDeviceState.h.
SWGSDRangel::SWGDeviceState::SWGDeviceState | ( | ) |
SWGSDRangel::SWGDeviceState::SWGDeviceState | ( | QString * | json | ) |
Definition at line 25 of file SWGDeviceState.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 35 of file SWGDeviceState.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 68 of file SWGDeviceState.cpp.
References asJsonObject().
Referenced by WebAPIRequestMapper::devicesetDeviceRunService().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 79 of file SWGDeviceState.cpp.
References state, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGDeviceState::cleanup | ( | ) |
Definition at line 46 of file SWGDeviceState.cpp.
References state.
Referenced by ~SWGDeviceState().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 53 of file SWGDeviceState.cpp.
References fromJsonObject().
Referenced by SWGDeviceState().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 62 of file SWGDeviceState.cpp.
References SWGSDRangel::setValue(), and state.
Referenced by fromJson().
QString * SWGSDRangel::SWGDeviceState::getState | ( | ) |
Definition at line 89 of file SWGDeviceState.cpp.
References state.
Referenced by PlutoSDROutput::webapiRun(), PlutoSDRInput::webapiRun(), Bladerf1Output::webapiRun(), HackRFOutput::webapiRun(), FCDProPlusInput::webapiRun(), TestSourceInput::webapiRun(), AirspyInput::webapiRun(), Bladerf1Input::webapiRun(), PerseusInput::webapiRun(), RTLSDRInput::webapiRun(), AirspyHFInput::webapiRun(), TestMI::webapiRun(), FCDProInput::webapiRun(), LocalOutput::webapiRun(), BladeRF2Output::webapiRun(), HackRFInput::webapiRun(), KiwiSDRInput::webapiRun(), LocalInput::webapiRun(), RemoteOutput::webapiRun(), SDRPlayInput::webapiRun(), SoapySDROutput::webapiRun(), BladeRF2Input::webapiRun(), FileSinkOutput::webapiRun(), SoapySDRInput::webapiRun(), XTRXOutput::webapiRun(), LimeSDROutput::webapiRun(), XTRXInput::webapiRun(), LimeSDRInput::webapiRun(), RemoteInput::webapiRun(), FileInput::webapiRun(), PlutoSDROutput::webapiRunGet(), PlutoSDRInput::webapiRunGet(), Bladerf1Output::webapiRunGet(), HackRFOutput::webapiRunGet(), FCDProPlusInput::webapiRunGet(), TestSourceInput::webapiRunGet(), AirspyInput::webapiRunGet(), Bladerf1Input::webapiRunGet(), PerseusInput::webapiRunGet(), RTLSDRInput::webapiRunGet(), AirspyHFInput::webapiRunGet(), TestMI::webapiRunGet(), FCDProInput::webapiRunGet(), LocalOutput::webapiRunGet(), BladeRF2Output::webapiRunGet(), HackRFInput::webapiRunGet(), KiwiSDRInput::webapiRunGet(), LocalInput::webapiRunGet(), RemoteOutput::webapiRunGet(), SDRPlayInput::webapiRunGet(), SoapySDROutput::webapiRunGet(), BladeRF2Input::webapiRunGet(), FileSinkOutput::webapiRunGet(), SoapySDRInput::webapiRunGet(), XTRXOutput::webapiRunGet(), LimeSDROutput::webapiRunGet(), XTRXInput::webapiRunGet(), LimeSDRInput::webapiRunGet(), RemoteInput::webapiRunGet(), and FileInput::webapiRunGet().
void SWGSDRangel::SWGDeviceState::init | ( | ) |
Definition at line 40 of file SWGDeviceState.cpp.
References m_state_isSet, and state.
Referenced by WebAPIAdapterGUI::devicesetDeviceRunDelete(), WebAPIAdapterSrv::devicesetDeviceRunDelete(), WebAPIAdapterGUI::devicesetDeviceRunGet(), WebAPIAdapterSrv::devicesetDeviceRunGet(), WebAPIAdapterGUI::devicesetDeviceRunPost(), WebAPIAdapterSrv::devicesetDeviceRunPost(), and SWGDeviceState().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 100 of file SWGDeviceState.cpp.
References state.
void SWGSDRangel::SWGDeviceState::setState | ( | QString * | state | ) |
|
private |
Definition at line 53 of file SWGDeviceState.h.
Referenced by init(), setState(), and SWGDeviceState().
|
private |
Definition at line 52 of file SWGDeviceState.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getState(), init(), isSet(), setState(), and SWGDeviceState().