![]() |
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 <devicesamplemimo.h>
Inheritance diagram for DeviceSampleMIMO:
Collaboration diagram for DeviceSampleMIMO:Public Types | |
| enum | fcPos_t { FC_POS_INFRA = 0, FC_POS_SUPRA, FC_POS_CENTER } |
Public Member Functions | |
| DeviceSampleMIMO () | |
| virtual | ~DeviceSampleMIMO () |
| virtual void | destroy ()=0 |
| virtual void | init ()=0 |
| initializations to be done when all collaborating objects are created and possibly connected More... | |
| virtual bool | start ()=0 |
| virtual void | stop ()=0 |
| virtual QByteArray | serialize () const =0 |
| virtual bool | deserialize (const QByteArray &data)=0 |
| virtual const QString & | getDeviceDescription () const =0 |
| virtual int | getSinkSampleRate (int index) const =0 |
| Sample rate exposed by the sink at index. More... | |
| virtual void | setSinkSampleRate (int sampleRate, int index)=0 |
| For when the sink sample rate is set externally. More... | |
| virtual quint64 | getSinkCenterFrequency (int index) const =0 |
| Center frequency exposed by the sink at index. More... | |
| virtual void | setSinkCenterFrequency (qint64 centerFrequency, int index)=0 |
| virtual int | getSourceSampleRate (int index) const =0 |
| Sample rate exposed by the source at index. More... | |
| virtual void | setSourceSampleRate (int sampleRate, int index)=0 |
| For when the source sample rate is set externally. More... | |
| virtual quint64 | getSourceCenterFrequency (int index) const =0 |
| Center frequency exposed by the source at index. More... | |
| virtual void | setSourceCenterFrequency (qint64 centerFrequency, int index)=0 |
| virtual bool | handleMessage (const Message &message)=0 |
| virtual int | webapiSettingsGet (SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
| virtual int | webapiSettingsPutPatch (bool force, const QStringList &deviceSettingsKeys, SWGSDRangel::SWGDeviceSettings &response, QString &errorMessage) |
| virtual int | webapiRunGet (SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
| virtual int | webapiRun (bool run, SWGSDRangel::SWGDeviceState &response, QString &errorMessage) |
| virtual int | webapiReportGet (SWGSDRangel::SWGDeviceReport &response, QString &errorMessage) |
| MessageQueue * | getInputMessageQueue () |
| virtual void | setMessageQueueToGUI (MessageQueue *queue)=0 |
| MessageQueue * | getMessageQueueToGUI () |
| unsigned int | getNbSourceFifos () const |
| Get the number of Tx FIFOs. More... | |
| unsigned int | getNbSinkFifos () const |
| Get the number of Rx FIFOs. More... | |
| SampleSourceFifo * | getSampleSourceFifo (unsigned int index) |
| Get Tx FIFO at index. More... | |
| SampleSinkFifo * | getSampleSinkFifo (unsigned int index) |
| Get Rx FIFO at index. More... | |
| unsigned int | getNbSourceStreams () const |
| Commodity function same as getNbSinkFifos (Rx or source streams) More... | |
| unsigned int | getNbSinkStreams () const |
| Commodity function same as getNbSourceFifos (Tx or sink streams) More... | |
Protected Slots | |
| void | handleInputMessages () |
Protected Attributes | |
| std::vector< SampleSourceFifo > | m_sampleSourceFifos |
| Tx FIFOs. More... | |
| std::vector< SampleSinkFifo > | m_sampleSinkFifos |
| Rx FIFOs. More... | |
| 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 devicesamplemimo.h.
| DeviceSampleMIMO::DeviceSampleMIMO | ( | ) |
Definition at line 23 of file devicesamplemimo.cpp.
References handleInputMessages(), and m_inputMessageQueue.
Here is the call graph for this function:
|
virtual |
Definition at line 29 of file devicesamplemimo.cpp.
|
pure virtual |
Implemented in TestMI.
|
pure virtual |
Implemented in TestMI.
Referenced by PluginInterface::deleteSampleMIMOPluginInstanceMIMO().
Here is the caller graph for this function:
|
pure virtual |
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::gotoInit(), and DSPDeviceMIMOEngine::handleSetMIMO().
Here is the caller graph for this function:
|
inline |
Definition at line 121 of file devicesamplemimo.h.
Referenced by DeviceAPI::getSamplingDeviceInputMessageQueue(), TestMIGui::on_record_toggled(), TestMIGui::on_startStop_toggled(), and TestMIGui::updateHardware().
Here is the caller graph for this function:
|
inline |
Definition at line 123 of file devicesamplemimo.h.
Referenced by DeviceAPI::getSamplingDeviceGUIMessageQueue(), and DSPDeviceMIMOEngine::handleInputMessages().
Here is the caller graph for this function:
|
inline |
Get the number of Rx FIFOs.
Definition at line 126 of file devicesamplemimo.h.
Referenced by DSPDeviceMIMOEngine::gotoInit().
Here is the caller graph for this function:
|
inline |
Commodity function same as getNbSourceFifos (Tx or sink streams)
Definition at line 133 of file devicesamplemimo.h.
|
inline |
Get the number of Tx FIFOs.
Definition at line 125 of file devicesamplemimo.h.
|
inline |
Commodity function same as getNbSinkFifos (Rx or source streams)
Definition at line 132 of file devicesamplemimo.h.
Referenced by DSPDeviceMIMOEngine::work().
Here is the caller graph for this function:| SampleSinkFifo * DeviceSampleMIMO::getSampleSinkFifo | ( | unsigned int | index | ) |
Get Rx FIFO at index.
Definition at line 55 of file devicesamplemimo.cpp.
References m_sampleSinkFifos.
Referenced by DSPDeviceMIMOEngine::handleSetMIMO(), DSPDeviceMIMOEngine::work(), and DSPDeviceMIMOEngine::workSampleSink().
Here is the caller graph for this function:| SampleSourceFifo * DeviceSampleMIMO::getSampleSourceFifo | ( | unsigned int | index | ) |
Get Tx FIFO at index.
Definition at line 46 of file devicesamplemimo.cpp.
References m_sampleSourceFifos.
Referenced by DSPDeviceMIMOEngine::handleForwardToSpectrumSink(), and DSPDeviceMIMOEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
pure virtual |
Center frequency exposed by the sink at index.
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
pure virtual |
Sample rate exposed by the sink at index.
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
pure virtual |
Center frequency exposed by the source at index.
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::gotoInit(), and DSPDeviceMIMOEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
pure virtual |
Sample rate exposed by the source at index.
Implemented in TestMI.
Referenced by AMDemod::applySettings(), DSPDeviceMIMOEngine::gotoInit(), and DSPDeviceMIMOEngine::handleSynchronousMessages().
Here is the caller graph for this function:
|
protectedslot |
Definition at line 33 of file devicesamplemimo.cpp.
References handleMessage(), m_inputMessageQueue, and MessageQueue::pop().
Referenced by DeviceSampleMIMO().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Implemented in TestMI.
Referenced by handleInputMessages().
Here is the caller graph for this function:
|
pure virtual |
initializations to be done when all collaborating objects are created and possibly connected
Implemented in TestMI.
|
pure virtual |
Implemented in TestMI.
|
pure virtual |
Implemented in TestMI.
Referenced by MainWindow::sampleMIMOChanged(), and TestMIGui::TestMIGui().
Here is the caller graph for this function:
|
pure virtual |
Implemented in TestMI.
|
pure virtual |
For when the sink sample rate is set externally.
Implemented in TestMI.
|
pure virtual |
Implemented in TestMI.
|
pure virtual |
For when the source sample rate is set externally.
Implemented in TestMI.
|
pure virtual |
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::gotoRunning().
Here is the caller graph for this function:
|
pure virtual |
Implemented in TestMI.
Referenced by DSPDeviceMIMOEngine::gotoIdle().
Here is the caller graph for this function:
|
inlinevirtual |
Definition at line 112 of file devicesamplemimo.h.
|
inlinevirtual |
Reimplemented in TestMI.
Definition at line 102 of file devicesamplemimo.h.
|
inlinevirtual |
Reimplemented in TestMI.
Definition at line 93 of file devicesamplemimo.h.
|
inlinevirtual |
Reimplemented in TestMI.
Definition at line 71 of file devicesamplemimo.h.
|
inlinevirtual |
| force | true to force settings = put |
Reimplemented in TestMI.
Definition at line 80 of file devicesamplemimo.h.
|
protected |
Input message queue to the GUI.
Definition at line 142 of file devicesamplemimo.h.
Referenced by TestMI::deserialize(), TestMI::setMessageQueueToGUI(), TestMI::setSourceCenterFrequency(), TestMI::webapiRun(), and TestMI::webapiSettingsPutPatch().
|
protected |
Input queue to the sink.
Definition at line 141 of file devicesamplemimo.h.
Referenced by TestMI::deserialize(), DeviceSampleMIMO(), handleInputMessages(), TestMI::setSourceCenterFrequency(), TestMI::webapiRun(), and TestMI::webapiSettingsPutPatch().
|
protected |
Rx FIFOs.
Definition at line 140 of file devicesamplemimo.h.
Referenced by getSampleSinkFifo(), and TestMI::start().
|
protected |
1.8.13