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 <SWGRemoteInputReport.h>
Public Member Functions | |
SWGRemoteInputReport () | |
SWGRemoteInputReport (QString *json) | |
virtual | ~SWGRemoteInputReport () |
void | init () |
void | cleanup () |
virtual QString | asJson () override |
virtual QJsonObject * | asJsonObject () override |
virtual void | fromJsonObject (QJsonObject &json) override |
virtual SWGRemoteInputReport * | fromJson (QString &jsonString) override |
qint32 | getCenterFrequency () |
void | setCenterFrequency (qint32 center_frequency) |
qint32 | getSampleRate () |
void | setSampleRate (qint32 sample_rate) |
qint32 | getBufferRwBalance () |
void | setBufferRwBalance (qint32 buffer_rw_balance) |
QString * | getRemoteTimestamp () |
void | setRemoteTimestamp (QString *remote_timestamp) |
qint32 | getMinNbBlocks () |
void | setMinNbBlocks (qint32 min_nb_blocks) |
qint32 | getMaxNbRecovery () |
void | setMaxNbRecovery (qint32 max_nb_recovery) |
virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
virtual | ~SWGObject () |
Private Attributes | |
qint32 | center_frequency |
bool | m_center_frequency_isSet |
qint32 | sample_rate |
bool | m_sample_rate_isSet |
qint32 | buffer_rw_balance |
bool | m_buffer_rw_balance_isSet |
QString * | remote_timestamp |
bool | m_remote_timestamp_isSet |
qint32 | min_nb_blocks |
bool | m_min_nb_blocks_isSet |
qint32 | max_nb_recovery |
bool | m_max_nb_recovery_isSet |
Definition at line 32 of file SWGRemoteInputReport.h.
SWGSDRangel::SWGRemoteInputReport::SWGRemoteInputReport | ( | ) |
Definition at line 30 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance, center_frequency, m_buffer_rw_balance_isSet, m_center_frequency_isSet, m_max_nb_recovery_isSet, m_min_nb_blocks_isSet, m_remote_timestamp_isSet, m_sample_rate_isSet, max_nb_recovery, min_nb_blocks, remote_timestamp, and sample_rate.
SWGSDRangel::SWGRemoteInputReport::SWGRemoteInputReport | ( | QString * | json | ) |
Definition at line 25 of file SWGRemoteInputReport.cpp.
References fromJson(), and init().
|
virtual |
Definition at line 45 of file SWGRemoteInputReport.cpp.
References cleanup().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 103 of file SWGRemoteInputReport.cpp.
References asJsonObject().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 114 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance, center_frequency, m_buffer_rw_balance_isSet, m_center_frequency_isSet, m_max_nb_recovery_isSet, m_min_nb_blocks_isSet, m_sample_rate_isSet, max_nb_recovery, min_nb_blocks, remote_timestamp, sample_rate, and SWGSDRangel::toJsonValue().
Referenced by asJson().
void SWGSDRangel::SWGRemoteInputReport::cleanup | ( | ) |
Definition at line 66 of file SWGRemoteInputReport.cpp.
References remote_timestamp.
Referenced by ~SWGRemoteInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 78 of file SWGRemoteInputReport.cpp.
References fromJsonObject().
Referenced by SWGRemoteInputReport().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 87 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance, center_frequency, max_nb_recovery, min_nb_blocks, remote_timestamp, sample_rate, and SWGSDRangel::setValue().
Referenced by fromJson().
qint32 SWGSDRangel::SWGRemoteInputReport::getBufferRwBalance | ( | ) |
Definition at line 159 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance.
qint32 SWGSDRangel::SWGRemoteInputReport::getCenterFrequency | ( | ) |
Definition at line 139 of file SWGRemoteInputReport.cpp.
References center_frequency.
qint32 SWGSDRangel::SWGRemoteInputReport::getMaxNbRecovery | ( | ) |
Definition at line 189 of file SWGRemoteInputReport.cpp.
References max_nb_recovery.
qint32 SWGSDRangel::SWGRemoteInputReport::getMinNbBlocks | ( | ) |
Definition at line 179 of file SWGRemoteInputReport.cpp.
References min_nb_blocks.
QString * SWGSDRangel::SWGRemoteInputReport::getRemoteTimestamp | ( | ) |
Definition at line 169 of file SWGRemoteInputReport.cpp.
References remote_timestamp.
qint32 SWGSDRangel::SWGRemoteInputReport::getSampleRate | ( | ) |
Definition at line 149 of file SWGRemoteInputReport.cpp.
References sample_rate.
void SWGSDRangel::SWGRemoteInputReport::init | ( | ) |
Definition at line 50 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance, center_frequency, m_buffer_rw_balance_isSet, m_center_frequency_isSet, m_max_nb_recovery_isSet, m_min_nb_blocks_isSet, m_remote_timestamp_isSet, m_sample_rate_isSet, max_nb_recovery, min_nb_blocks, remote_timestamp, and sample_rate.
Referenced by SWGRemoteInputReport(), and RemoteInput::webapiReportGet().
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 200 of file SWGRemoteInputReport.cpp.
References m_buffer_rw_balance_isSet, m_center_frequency_isSet, m_max_nb_recovery_isSet, m_min_nb_blocks_isSet, m_sample_rate_isSet, and remote_timestamp.
Referenced by SWGSDRangel::SWGDeviceReport::asJsonObject(), and SWGSDRangel::SWGDeviceReport::isSet().
void SWGSDRangel::SWGRemoteInputReport::setBufferRwBalance | ( | qint32 | buffer_rw_balance | ) |
Definition at line 163 of file SWGRemoteInputReport.cpp.
References buffer_rw_balance, and m_buffer_rw_balance_isSet.
Referenced by RemoteInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRemoteInputReport::setCenterFrequency | ( | qint32 | center_frequency | ) |
Definition at line 143 of file SWGRemoteInputReport.cpp.
References center_frequency, and m_center_frequency_isSet.
Referenced by RemoteInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRemoteInputReport::setMaxNbRecovery | ( | qint32 | max_nb_recovery | ) |
Definition at line 193 of file SWGRemoteInputReport.cpp.
References m_max_nb_recovery_isSet, and max_nb_recovery.
Referenced by RemoteInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRemoteInputReport::setMinNbBlocks | ( | qint32 | min_nb_blocks | ) |
Definition at line 183 of file SWGRemoteInputReport.cpp.
References m_min_nb_blocks_isSet, and min_nb_blocks.
Referenced by RemoteInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRemoteInputReport::setRemoteTimestamp | ( | QString * | remote_timestamp | ) |
Definition at line 173 of file SWGRemoteInputReport.cpp.
References m_remote_timestamp_isSet, and remote_timestamp.
Referenced by RemoteInput::webapiFormatDeviceReport().
void SWGSDRangel::SWGRemoteInputReport::setSampleRate | ( | qint32 | sample_rate | ) |
Definition at line 153 of file SWGRemoteInputReport.cpp.
References m_sample_rate_isSet, and sample_rate.
Referenced by RemoteInput::webapiFormatDeviceReport().
|
private |
Definition at line 73 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getBufferRwBalance(), init(), setBufferRwBalance(), and SWGRemoteInputReport().
|
private |
Definition at line 67 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getCenterFrequency(), init(), setCenterFrequency(), and SWGRemoteInputReport().
|
private |
Definition at line 74 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setBufferRwBalance(), and SWGRemoteInputReport().
|
private |
Definition at line 68 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setCenterFrequency(), and SWGRemoteInputReport().
|
private |
Definition at line 83 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setMaxNbRecovery(), and SWGRemoteInputReport().
|
private |
Definition at line 80 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setMinNbBlocks(), and SWGRemoteInputReport().
|
private |
Definition at line 77 of file SWGRemoteInputReport.h.
Referenced by init(), setRemoteTimestamp(), and SWGRemoteInputReport().
|
private |
Definition at line 71 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), init(), isSet(), setSampleRate(), and SWGRemoteInputReport().
|
private |
Definition at line 82 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getMaxNbRecovery(), init(), setMaxNbRecovery(), and SWGRemoteInputReport().
|
private |
Definition at line 79 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getMinNbBlocks(), init(), setMinNbBlocks(), and SWGRemoteInputReport().
|
private |
Definition at line 76 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getRemoteTimestamp(), init(), isSet(), setRemoteTimestamp(), and SWGRemoteInputReport().
|
private |
Definition at line 70 of file SWGRemoteInputReport.h.
Referenced by asJsonObject(), fromJsonObject(), getSampleRate(), init(), setSampleRate(), and SWGRemoteInputReport().