1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

Fixed Interferometer and BeamSteeringCW MIMO channel plugins

This commit is contained in:
f4exb 2022-05-26 11:54:25 +02:00
parent 6620348f9e
commit 4b321a847f
4 changed files with 1 additions and 6 deletions

View File

@ -54,7 +54,6 @@ BeamSteeringCWMod::BeamSteeringCWMod(DeviceAPI *deviceAPI) :
m_basebandSource->moveToThread(m_thread); m_basebandSource->moveToThread(m_thread);
m_deviceAPI->addMIMOChannel(this); m_deviceAPI->addMIMOChannel(this);
m_deviceAPI->addMIMOChannelAPI(this); m_deviceAPI->addMIMOChannelAPI(this);
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
m_networkManager = new QNetworkAccessManager(); m_networkManager = new QNetworkAccessManager();
QObject::connect( QObject::connect(

View File

@ -120,7 +120,6 @@ public:
return m_frequencyOffset; return m_frequencyOffset;
} }
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication
virtual void setMessageQueueToGUI(MessageQueue *queue) { m_guiMessageQueue = queue; } virtual void setMessageQueueToGUI(MessageQueue *queue) { m_guiMessageQueue = queue; }
MessageQueue *getMessageQueueToGUI() { return m_guiMessageQueue; } MessageQueue *getMessageQueueToGUI() { return m_guiMessageQueue; }
@ -158,7 +157,6 @@ private:
BasebandSampleSink* m_spectrumSink; BasebandSampleSink* m_spectrumSink;
BasebandSampleSink* m_scopeSink; BasebandSampleSink* m_scopeSink;
BeamSteeringCWModSettings m_settings; BeamSteeringCWModSettings m_settings;
MessageQueue m_inputMessageQueue; //!< Queue for asynchronous inbound communication
MessageQueue *m_guiMessageQueue; //!< Input message queue to the GUI MessageQueue *m_guiMessageQueue; //!< Input message queue to the GUI
QNetworkAccessManager *m_networkManager; QNetworkAccessManager *m_networkManager;

View File

@ -53,10 +53,10 @@ Interferometer::Interferometer(DeviceAPI *deviceAPI) :
m_thread = new QThread(this); m_thread = new QThread(this);
m_basebandSink = new InterferometerBaseband(m_fftSize); m_basebandSink = new InterferometerBaseband(m_fftSize);
m_basebandSink->setSpectrumSink(&m_spectrumVis); m_basebandSink->setSpectrumSink(&m_spectrumVis);
m_basebandSink->setScopeSink(&m_scopeSink);
m_basebandSink->moveToThread(m_thread); m_basebandSink->moveToThread(m_thread);
m_deviceAPI->addMIMOChannel(this); m_deviceAPI->addMIMOChannel(this);
m_deviceAPI->addMIMOChannelAPI(this); m_deviceAPI->addMIMOChannelAPI(this);
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
m_networkManager = new QNetworkAccessManager(); m_networkManager = new QNetworkAccessManager();
QObject::connect( QObject::connect(

View File

@ -120,7 +120,6 @@ public:
return m_frequencyOffset; return m_frequencyOffset;
} }
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication
virtual void setMessageQueueToGUI(MessageQueue *queue) { m_guiMessageQueue = queue; } virtual void setMessageQueueToGUI(MessageQueue *queue) { m_guiMessageQueue = queue; }
MessageQueue *getMessageQueueToGUI() { return m_guiMessageQueue; } MessageQueue *getMessageQueueToGUI() { return m_guiMessageQueue; }
@ -162,7 +161,6 @@ private:
ScopeVis m_scopeSink; ScopeVis m_scopeSink;
InterferometerBaseband* m_basebandSink; InterferometerBaseband* m_basebandSink;
InterferometerSettings m_settings; InterferometerSettings m_settings;
MessageQueue m_inputMessageQueue; //!< Queue for asynchronous inbound communication
MessageQueue *m_guiMessageQueue; //!< Input message queue to the GUI MessageQueue *m_guiMessageQueue; //!< Input message queue to the GUI
QNetworkAccessManager *m_networkManager; QNetworkAccessManager *m_networkManager;