![]() |
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 <xtrxoutput.h>
Inheritance diagram for XTRXOutput:
Collaboration diagram for XTRXOutput:Classes | |
| class | MsgConfigureXTRX |
| class | MsgGetDeviceInfo |
| class | MsgGetStreamInfo |
| class | MsgReportClockGenChange |
| class | MsgReportStreamInfo |
| class | MsgStartStop |
Public Member Functions | |
| XTRXOutput (DeviceAPI *deviceAPI) | |
| virtual | ~XTRXOutput () |
| virtual void | destroy () |
| virtual void | init () |
| initializations to be done when all collaborating objects are created and possibly connected More... | |
| virtual bool | start () |
| virtual void | stop () |
| XTRXOutputThread * | getThread () |
| void | setThread (XTRXOutputThread *thread) |
| virtual QByteArray | serialize () const |
| virtual bool | deserialize (const QByteArray &data) |
| virtual void | setMessageQueueToGUI (MessageQueue *queue) |
| virtual const QString & | getDeviceDescription () const |
| virtual int | getSampleRate () const |
| Sample rate exposed by the sink. More... | |
| virtual void | setSampleRate (int sampleRate) |
| For when the sink sample rate is set externally. More... | |
| uint32_t | getDevSampleRate () const |
| uint32_t | getLog2HardInterp () const |
| double | getClockGen () const |
| virtual quint64 | getCenterFrequency () const |
| Center frequency exposed by the sink. More... | |
| virtual void | setCenterFrequency (qint64 centerFrequency) |
| virtual bool | handleMessage (const Message &message) |
| virtual int | webapiSettingsGet (SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
| virtual int | webapiSettingsPutPatch (bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
| virtual int | webapiReportGet (SWGSDRangel::SWGDeviceReport &response, QString &errorMessage) |
| virtual int | webapiRunGet (SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
| virtual int | webapiRun (bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
| std::size_t | getChannelIndex () |
| void | getLORange (float &minF, float &maxF, float &stepF) const |
| void | getSRRange (float &minF, float &maxF, float &stepF) const |
| void | getLPRange (float &minF, float &maxF, float &stepF) const |
Public Member Functions inherited from DeviceSampleSink | |
| DeviceSampleSink () | |
| virtual | ~DeviceSampleSink () |
| MessageQueue * | getInputMessageQueue () |
| MessageQueue * | getMessageQueueToGUI () |
| SampleSourceFifo * | getSampleFifo () |
Private Slots | |
| void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
| bool | openDevice () |
| void | closeDevice () |
| XTRXOutputThread * | findThread () |
| void | moveThreadToBuddy () |
| void | suspendRxThread () |
| void | resumeRxThread () |
| bool | applySettings (const XTRXOutputSettings &settings, bool force=false, bool forceNCOFrequency=false) |
| void | webapiFormatDeviceSettings (SWGSDRangel::SWGDeviceSettings &response, const XTRXOutputSettings &settings) |
| void | webapiFormatDeviceReport (SWGSDRangel::SWGDeviceReport &response) |
| void | webapiReverseSendSettings (QList< QString > &deviceSettingsKeys, const XTRXOutputSettings &settings, bool force) |
| void | webapiReverseSendStartStop (bool start) |
Private Attributes | |
| DeviceAPI * | m_deviceAPI |
| QMutex | m_mutex |
| XTRXOutputSettings | m_settings |
| XTRXOutputThread * | m_XTRXOutputThread |
| QString | m_deviceDescription |
| bool | m_running |
| DeviceXTRXShared | m_deviceShared |
| QNetworkAccessManager * | m_networkManager |
| QNetworkRequest | m_networkRequest |
Additional Inherited Members | |
Public Types inherited from DeviceSampleSink | |
| enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Static Public Member Functions inherited from DeviceSampleSink | |
| static qint64 | calculateDeviceCenterFrequency (quint64 centerFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
| static qint64 | calculateCenterFrequency (quint64 deviceCenterFrequency, qint64 transverterDeltaFrequency, int log2Interp, fcPos_t fcPos, quint32 devSampleRate, bool transverterMode=false) |
| static qint32 | calculateFrequencyShift (int log2Interp, fcPos_t fcPos, quint32 devSampleRate) |
Protected Slots inherited from DeviceSampleSink | |
| void | handleInputMessages () |
Protected Attributes inherited from DeviceSampleSink | |
| SampleSourceFifo | m_sampleSourceFifo |
| MessageQueue | m_inputMessageQueue |
| Input queue to the sink. More... | |
| MessageQueue * | m_guiMessageQueue |
| Input message queue to the GUI. More... | |
Definition at line 37 of file xtrxoutput.h.
| XTRXOutput::XTRXOutput | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 48 of file xtrxoutput.cpp.
Referenced by XTRXOutput::MsgStartStop::MsgStartStop().
Here is the caller graph for this function:
|
virtual |
Definition at line 61 of file xtrxoutput.cpp.
References closeDevice(), m_networkManager, m_running, networkManagerFinished(), and stop().
Referenced by XTRXOutput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 757 of file xtrxoutput.cpp.
References DeviceXTRXShared::MsgReportBuddyChange::create(), DeviceXTRXShared::MsgReportClockSourceChange::create(), XTRXOutput::MsgReportClockGenChange::create(), findThread(), DeviceXTRX::getActualOutputRate(), DeviceXTRX::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceAPI::getDeviceItemIndex(), getDevSampleRate(), getLog2HardInterp(), DeviceSampleSink::getMessageQueueToGUI(), getSampleRate(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), XTRXOutputThread::isRunning(), XTRXOutputSettings::m_antennaPath, XTRXOutputSettings::m_centerFrequency, DeviceXTRXShared::m_channel, DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_extClock, XTRXOutputSettings::m_extClockFreq, XTRXOutputSettings::m_gain, XTRXOutputSettings::m_log2HardInterp, XTRXOutputSettings::m_log2SoftInterp, XTRXOutputSettings::m_lpfBW, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, XTRXOutputSettings::m_pwrmode, XTRXOutputSettings::m_reverseAPIAddress, XTRXOutputSettings::m_reverseAPIDeviceIndex, XTRXOutputSettings::m_reverseAPIPort, m_settings, XTRXOutputSettings::m_useReverseAPI, MessageQueue::push(), resumeRxThread(), DeviceXTRX::set_samplerate(), XTRXOutputThread::setLog2Interpolation(), XTRXOutputThread::startWork(), XTRXOutputThread::stopWork(), suspendRxThread(), and webapiReverseSendSettings().
Referenced by handleMessage(), init(), start(), and stop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 152 of file xtrxoutput.cpp.
References DeviceXTRX::close(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), DeviceXTRXShared::m_channel, DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, m_running, DeviceXTRXShared::m_sink, m_XTRXOutputThread, moveThreadToBuddy(), and stop().
Referenced by ~XTRXOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 466 of file xtrxoutput.cpp.
References XTRXOutput::MsgConfigureXTRX::create(), XTRXOutputSettings::deserialize(), DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, m_settings, MessageQueue::push(), and XTRXOutputSettings::resetToDefaults().
Referenced by setThread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 73 of file xtrxoutput.cpp.
Referenced by XTRXOutput::MsgStartStop::MsgStartStop().
Here is the caller graph for this function:
|
private |
Definition at line 184 of file xtrxoutput.cpp.
References DeviceAPI::getSinkBuddies(), getThread(), m_deviceAPI, and m_XTRXOutputThread.
Referenced by applySettings(), start(), and stop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Center frequency exposed by the sink.
Implements DeviceSampleSink.
Definition at line 535 of file xtrxoutput.cpp.
References XTRXOutputSettings::m_centerFrequency, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, and m_settings.
Referenced by setSampleRate().
Here is the caller graph for this function:| std::size_t XTRXOutput::getChannelIndex | ( | ) |
Definition at line 555 of file xtrxoutput.cpp.
References DeviceXTRXShared::m_channel, and m_deviceShared.
Referenced by setSampleRate(), and XTRXOutputGUI::XTRXOutputGUI().
Here is the caller graph for this function:| double XTRXOutput::getClockGen | ( | ) | const |
Definition at line 526 of file xtrxoutput.cpp.
References DeviceXTRX::getClockGen(), DeviceXTRXShared::m_dev, and m_deviceShared.
Referenced by setSampleRate(), and XTRXOutputGUI::updateDACRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 488 of file xtrxoutput.cpp.
References m_deviceDescription.
Referenced by setMessageQueueToGUI().
Here is the caller graph for this function:| uint32_t XTRXOutput::getDevSampleRate | ( | ) | const |
Definition at line 504 of file xtrxoutput.cpp.
References DeviceXTRX::getActualOutputRate(), DeviceXTRXShared::m_dev, m_deviceShared, XTRXOutputSettings::m_devSampleRate, and m_settings.
Referenced by applySettings(), XTRXOutputGUI::handleMessage(), and setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:| uint32_t XTRXOutput::getLog2HardInterp | ( | ) | const |
Definition at line 515 of file xtrxoutput.cpp.
References DeviceXTRX::getActualOutputRate(), DeviceXTRX::getClockGen(), DeviceXTRXShared::m_dev, m_deviceShared, XTRXOutputSettings::m_log2HardInterp, and m_settings.
Referenced by applySettings(), handleMessage(), and setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:| void XTRXOutput::getLORange | ( | float & | minF, |
| float & | maxF, | ||
| float & | stepF | ||
| ) | const |
Definition at line 560 of file xtrxoutput.cpp.
Referenced by setSampleRate(), and XTRXOutputGUI::XTRXOutputGUI().
Here is the caller graph for this function:| void XTRXOutput::getLPRange | ( | float & | minF, |
| float & | maxF, | ||
| float & | stepF | ||
| ) | const |
Definition at line 578 of file xtrxoutput.cpp.
Referenced by setSampleRate(), and XTRXOutputGUI::XTRXOutputGUI().
Here is the caller graph for this function:
|
virtual |
Sample rate exposed by the sink.
Implements DeviceSampleSink.
Definition at line 493 of file xtrxoutput.cpp.
References DeviceXTRX::getActualOutputRate(), DeviceXTRXShared::m_dev, m_deviceShared, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_log2SoftInterp, and m_settings.
Referenced by applySettings(), and setMessageQueueToGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| void XTRXOutput::getSRRange | ( | float & | minF, |
| float & | maxF, | ||
| float & | stepF | ||
| ) | const |
Definition at line 569 of file xtrxoutput.cpp.
Referenced by XTRXOutputGUI::displaySampleRate(), setSampleRate(), and XTRXOutputGUI::XTRXOutputGUI().
Here is the caller graph for this function:
|
inline |
Definition at line 180 of file xtrxoutput.h.
References m_XTRXOutputThread.
Referenced by findThread().
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 587 of file xtrxoutput.cpp.
References applySettings(), DeviceXTRXShared::MsgReportBuddyChange::create(), DeviceXTRXShared::MsgReportClockSourceChange::create(), DeviceXTRXShared::MsgReportDeviceInfo::create(), XTRXOutput::MsgReportStreamInfo::create(), DeviceXTRXShared::get_board_temperature(), DeviceXTRXShared::get_gps_status(), DeviceXTRX::getActualOutputRate(), DeviceXTRXShared::MsgReportBuddyChange::getCenterFrequency(), DeviceXTRX::getClockGen(), DeviceXTRX::getDevice(), DeviceAPI::getDeviceEngineInputMessageQueue(), DeviceXTRXShared::MsgReportBuddyChange::getDevSampleRate(), DeviceXTRXShared::MsgReportClockSourceChange::getExtClock(), DeviceXTRXShared::MsgReportClockSourceChange::getExtClockFeq(), XTRXOutput::MsgConfigureXTRX::getForce(), DeviceXTRXShared::MsgReportBuddyChange::getLog2HardDecimInterp(), getLog2HardInterp(), DeviceSampleSink::getMessageQueueToGUI(), DeviceXTRXShared::MsgReportBuddyChange::getRxElseTx(), DeviceAPI::getSamplingDeviceGUIMessageQueue(), XTRXOutput::MsgConfigureXTRX::getSettings(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), XTRXOutput::MsgStartStop::getStartStop(), DeviceAPI::initDeviceEngine(), XTRXOutputSettings::m_centerFrequency, DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_extClock, XTRXOutputSettings::m_extClockFreq, XTRXOutputSettings::m_log2HardInterp, XTRXOutputSettings::m_log2SoftInterp, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, m_settings, Message::match(), MessageQueue::push(), DeviceAPI::startDeviceEngine(), and DeviceAPI::stopDeviceEngine().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implements DeviceSampleSink.
Definition at line 179 of file xtrxoutput.cpp.
References applySettings(), and m_settings.
Referenced by XTRXOutput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 216 of file xtrxoutput.cpp.
References DeviceAPI::getSinkBuddies(), m_deviceAPI, m_XTRXOutputThread, and setThread().
Referenced by closeDevice().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
Definition at line 1435 of file xtrxoutput.cpp.
Referenced by ~XTRXOutput().
Here is the caller graph for this function:
|
private |
Definition at line 78 of file xtrxoutput.cpp.
References DeviceAPI::getBuddySharedPtr(), DeviceAPI::getDeviceItemIndex(), DeviceAPI::getSamplingDeviceSerial(), DeviceAPI::getSinkBuddies(), DeviceAPI::getSourceBuddies(), DeviceXTRXShared::m_channel, DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_log2SoftInterp, DeviceSampleSink::m_sampleSourceFifo, m_settings, DeviceXTRXShared::m_sink, DeviceXTRX::open(), SampleSourceFifo::resize(), and DeviceAPI::setBuddySharedPtr().
Here is the call graph for this function:
|
private |
Definition at line 444 of file xtrxoutput.cpp.
References DeviceAPI::getSourceBuddies(), m_deviceAPI, DeviceXTRXShared::m_thread, DeviceXTRXShared::m_threadWasRunning, and DeviceXTRXShared::ThreadInterface::startWork().
Referenced by applySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 461 of file xtrxoutput.cpp.
References m_settings, and XTRXOutputSettings::serialize().
Referenced by setThread().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 540 of file xtrxoutput.cpp.
References XTRXOutput::MsgConfigureXTRX::create(), XTRXOutputSettings::m_centerFrequency, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, m_settings, and MessageQueue::push().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements DeviceSampleSink.
Definition at line 186 of file xtrxoutput.h.
References getDeviceDescription(), getSampleRate(), and DeviceSampleSink::m_guiMessageQueue.
Here is the call graph for this function:
|
inlinevirtual |
For when the sink sample rate is set externally.
Implements DeviceSampleSink.
Definition at line 189 of file xtrxoutput.h.
References getCenterFrequency(), getChannelIndex(), getClockGen(), getDevSampleRate(), getLog2HardInterp(), getLORange(), getLPRange(), getSRRange(), handleMessage(), setCenterFrequency(), webapiReportGet(), webapiRun(), webapiRunGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
|
inline |
Definition at line 181 of file xtrxoutput.h.
References deserialize(), m_XTRXOutputThread, and serialize().
Referenced by moveThreadToBuddy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 233 of file xtrxoutput.cpp.
References applySettings(), findThread(), DeviceXTRX::getDevice(), DeviceAPI::getDeviceItemIndex(), XTRXOutputThread::getFifo(), XTRXOutputThread::getLog2Interpolation(), XTRXOutputThread::getNbChannels(), DeviceAPI::getSinkBuddies(), i, DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, XTRXOutputSettings::m_log2SoftInterp, m_running, DeviceSampleSink::m_sampleSourceFifo, m_settings, DeviceXTRXShared::m_thread, m_XTRXOutputThread, XTRXOutputThread::setFifo(), XTRXOutputThread::setLog2Interpolation(), XTRXOutputThread::startWork(), and XTRXOutputThread::stopWork().
Referenced by XTRXOutput::MsgStartStop::MsgStartStop().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements DeviceSampleSink.
Definition at line 349 of file xtrxoutput.cpp.
References applySettings(), findThread(), DeviceXTRX::getDevice(), DeviceAPI::getDeviceItemIndex(), XTRXOutputThread::getNbChannels(), DeviceAPI::getSinkBuddies(), DeviceXTRXShared::m_dev, m_deviceAPI, m_deviceShared, XTRXOutputSettings::m_log2SoftInterp, m_running, DeviceSampleSink::m_sampleSourceFifo, m_settings, DeviceXTRXShared::m_thread, m_XTRXOutputThread, XTRXOutputThread::setFifo(), XTRXOutputThread::setLog2Interpolation(), XTRXOutputThread::startWork(), and XTRXOutputThread::stopWork().
Referenced by closeDevice(), XTRXOutput::MsgStartStop::MsgStartStop(), and ~XTRXOutput().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 421 of file xtrxoutput.cpp.
References DeviceAPI::getSourceBuddies(), DeviceXTRXShared::ThreadInterface::isRunning(), m_deviceAPI, DeviceXTRXShared::m_thread, DeviceXTRXShared::m_threadWasRunning, and DeviceXTRXShared::ThreadInterface::stopWork().
Referenced by applySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1316 of file xtrxoutput.cpp.
References DeviceXTRXShared::get_board_temperature(), DeviceXTRXShared::get_gps_status(), DeviceXTRX::getDevice(), SWGSDRangel::SWGDeviceReport::getXtrxOutputReport(), DeviceXTRXShared::m_dev, m_deviceShared, SWGSDRangel::SWGXtrxOutputReport::setFifoFill(), SWGSDRangel::SWGXtrxOutputReport::setFifoSize(), SWGSDRangel::SWGXtrxOutputReport::setGpsLock(), SWGSDRangel::SWGXtrxOutputReport::setSuccess(), and SWGSDRangel::SWGXtrxOutputReport::setTemperature().
Referenced by webapiReportGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1251 of file xtrxoutput.cpp.
References SWGSDRangel::SWGXtrxOutputSettings::getReverseApiAddress(), SWGSDRangel::SWGDeviceSettings::getXtrxOutputSettings(), XTRXOutputSettings::m_antennaPath, XTRXOutputSettings::m_centerFrequency, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_extClock, XTRXOutputSettings::m_extClockFreq, XTRXOutputSettings::m_gain, XTRXOutputSettings::m_log2HardInterp, XTRXOutputSettings::m_log2SoftInterp, XTRXOutputSettings::m_lpfBW, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, XTRXOutputSettings::m_pwrmode, XTRXOutputSettings::m_reverseAPIAddress, XTRXOutputSettings::m_reverseAPIDeviceIndex, XTRXOutputSettings::m_reverseAPIPort, XTRXOutputSettings::m_useReverseAPI, SWGSDRangel::SWGXtrxOutputSettings::setAntennaPath(), SWGSDRangel::SWGXtrxOutputSettings::setCenterFrequency(), SWGSDRangel::SWGXtrxOutputSettings::setDevSampleRate(), SWGSDRangel::SWGXtrxOutputSettings::setExtClock(), SWGSDRangel::SWGXtrxOutputSettings::setExtClockFreq(), SWGSDRangel::SWGXtrxOutputSettings::setGain(), SWGSDRangel::SWGXtrxOutputSettings::setLog2HardInterp(), SWGSDRangel::SWGXtrxOutputSettings::setLog2SoftInterp(), SWGSDRangel::SWGXtrxOutputSettings::setLpfBw(), SWGSDRangel::SWGXtrxOutputSettings::setNcoEnable(), SWGSDRangel::SWGXtrxOutputSettings::setNcoFrequency(), SWGSDRangel::SWGXtrxOutputSettings::setPwrmode(), SWGSDRangel::SWGXtrxOutputSettings::setReverseApiAddress(), SWGSDRangel::SWGXtrxOutputSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGXtrxOutputSettings::setReverseApiPort(), and SWGSDRangel::SWGXtrxOutputSettings::setUseReverseApi().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1277 of file xtrxoutput.cpp.
References SWGSDRangel::SWGDeviceReport::getXtrxOutputReport(), SWGSDRangel::SWGXtrxOutputReport::init(), SWGSDRangel::SWGDeviceReport::setXtrxOutputReport(), and webapiFormatDeviceReport().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1341 of file xtrxoutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), SWGSDRangel::SWGDeviceSettings::getXtrxOutputSettings(), XTRXOutputSettings::m_antennaPath, XTRXOutputSettings::m_centerFrequency, m_deviceAPI, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_extClock, XTRXOutputSettings::m_extClockFreq, XTRXOutputSettings::m_gain, XTRXOutputSettings::m_log2HardInterp, XTRXOutputSettings::m_log2SoftInterp, XTRXOutputSettings::m_lpfBW, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, m_networkManager, m_networkRequest, XTRXOutputSettings::m_pwrmode, XTRXOutputSettings::m_reverseAPIAddress, XTRXOutputSettings::m_reverseAPIDeviceIndex, XTRXOutputSettings::m_reverseAPIPort, SWGSDRangel::SWGXtrxOutputSettings::setAntennaPath(), SWGSDRangel::SWGXtrxOutputSettings::setCenterFrequency(), SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGXtrxOutputSettings::setDevSampleRate(), SWGSDRangel::SWGDeviceSettings::setDirection(), SWGSDRangel::SWGXtrxOutputSettings::setExtClock(), SWGSDRangel::SWGXtrxOutputSettings::setExtClockFreq(), SWGSDRangel::SWGXtrxOutputSettings::setGain(), SWGSDRangel::SWGXtrxOutputSettings::setLog2HardInterp(), SWGSDRangel::SWGXtrxOutputSettings::setLog2SoftInterp(), SWGSDRangel::SWGXtrxOutputSettings::setLpfBw(), SWGSDRangel::SWGXtrxOutputSettings::setNcoEnable(), SWGSDRangel::SWGXtrxOutputSettings::setNcoFrequency(), SWGSDRangel::SWGDeviceSettings::setOriginatorIndex(), SWGSDRangel::SWGXtrxOutputSettings::setPwrmode(), and SWGSDRangel::SWGDeviceSettings::setXtrxOutputSettings().
Referenced by applySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1407 of file xtrxoutput.cpp.
References SWGSDRangel::SWGDeviceSettings::asJson(), DeviceAPI::getDeviceSetIndex(), m_deviceAPI, m_networkManager, m_networkRequest, XTRXOutputSettings::m_reverseAPIAddress, XTRXOutputSettings::m_reverseAPIDeviceIndex, XTRXOutputSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGDeviceSettings::setDeviceHwType(), SWGSDRangel::SWGDeviceSettings::setDirection(), and SWGSDRangel::SWGDeviceSettings::setOriginatorIndex().
Here is the call graph for this function:
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1297 of file xtrxoutput.cpp.
References XTRXOutput::MsgStartStop::create(), DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), m_deviceAPI, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, and MessageQueue::push().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1288 of file xtrxoutput.cpp.
References DeviceAPI::getDeviceEngineStateStr(), SWGSDRangel::SWGDeviceState::getState(), and m_deviceAPI.
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1169 of file xtrxoutput.cpp.
References SWGSDRangel::SWGDeviceSettings::getXtrxOutputSettings(), SWGSDRangel::SWGXtrxOutputSettings::init(), m_settings, SWGSDRangel::SWGDeviceSettings::setXtrxOutputSettings(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from DeviceSampleSink.
Definition at line 1180 of file xtrxoutput.cpp.
References XTRXOutput::MsgConfigureXTRX::create(), SWGSDRangel::SWGXtrxOutputSettings::getAntennaPath(), SWGSDRangel::SWGXtrxOutputSettings::getCenterFrequency(), SWGSDRangel::SWGXtrxOutputSettings::getDevSampleRate(), SWGSDRangel::SWGXtrxOutputSettings::getExtClock(), SWGSDRangel::SWGXtrxOutputSettings::getExtClockFreq(), SWGSDRangel::SWGXtrxOutputSettings::getGain(), SWGSDRangel::SWGXtrxOutputSettings::getLog2HardInterp(), SWGSDRangel::SWGXtrxOutputSettings::getLog2SoftInterp(), SWGSDRangel::SWGXtrxOutputSettings::getLpfBw(), SWGSDRangel::SWGXtrxOutputSettings::getNcoEnable(), SWGSDRangel::SWGXtrxOutputSettings::getNcoFrequency(), SWGSDRangel::SWGXtrxOutputSettings::getPwrmode(), SWGSDRangel::SWGXtrxOutputSettings::getReverseApiAddress(), SWGSDRangel::SWGXtrxOutputSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGXtrxOutputSettings::getReverseApiPort(), SWGSDRangel::SWGXtrxOutputSettings::getUseReverseApi(), SWGSDRangel::SWGDeviceSettings::getXtrxOutputSettings(), XTRXOutputSettings::m_antennaPath, XTRXOutputSettings::m_centerFrequency, XTRXOutputSettings::m_devSampleRate, XTRXOutputSettings::m_extClock, XTRXOutputSettings::m_extClockFreq, XTRXOutputSettings::m_gain, DeviceSampleSink::m_guiMessageQueue, DeviceSampleSink::m_inputMessageQueue, XTRXOutputSettings::m_log2HardInterp, XTRXOutputSettings::m_log2SoftInterp, XTRXOutputSettings::m_lpfBW, XTRXOutputSettings::m_ncoEnable, XTRXOutputSettings::m_ncoFrequency, XTRXOutputSettings::m_pwrmode, XTRXOutputSettings::m_reverseAPIAddress, XTRXOutputSettings::m_reverseAPIDeviceIndex, XTRXOutputSettings::m_reverseAPIPort, m_settings, XTRXOutputSettings::m_useReverseAPI, MessageQueue::push(), and webapiFormatDeviceSettings().
Referenced by setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 227 of file xtrxoutput.h.
Referenced by applySettings(), closeDevice(), findThread(), handleMessage(), moveThreadToBuddy(), openDevice(), resumeRxThread(), start(), stop(), suspendRxThread(), webapiReverseSendSettings(), webapiReverseSendStartStop(), webapiRun(), and webapiRunGet().
|
private |
Definition at line 231 of file xtrxoutput.h.
Referenced by getDeviceDescription().
|
private |
Definition at line 233 of file xtrxoutput.h.
Referenced by applySettings(), closeDevice(), getChannelIndex(), getClockGen(), getDevSampleRate(), getLog2HardInterp(), getSampleRate(), handleMessage(), openDevice(), start(), stop(), and webapiFormatDeviceReport().
|
private |
Definition at line 228 of file xtrxoutput.h.
|
private |
Definition at line 234 of file xtrxoutput.h.
Referenced by webapiReverseSendSettings(), webapiReverseSendStartStop(), and ~XTRXOutput().
|
private |
Definition at line 235 of file xtrxoutput.h.
Referenced by webapiReverseSendSettings(), and webapiReverseSendStartStop().
|
private |
Definition at line 232 of file xtrxoutput.h.
Referenced by closeDevice(), start(), stop(), and ~XTRXOutput().
|
private |
Definition at line 229 of file xtrxoutput.h.
Referenced by applySettings(), deserialize(), getCenterFrequency(), getDevSampleRate(), getLog2HardInterp(), getSampleRate(), handleMessage(), init(), openDevice(), serialize(), setCenterFrequency(), start(), stop(), webapiReverseSendStartStop(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 230 of file xtrxoutput.h.
Referenced by closeDevice(), findThread(), getThread(), moveThreadToBuddy(), setThread(), start(), and stop().
1.8.13