24 #include <QMessageBox>    28 #include <QNetworkAccessManager>    29 #include <QNetworkReply>    30 #include <QJsonParseError>    31 #include <QJsonObject>    33 #include "ui_localinputgui.h"    50     m_deviceUISet(deviceUISet),
    54     m_streamSampleRate(0),
    55     m_streamCenterFrequency(0),
    56     m_lastEngineState(
DeviceAPI::StNotStarted),
    57     m_framesDecodingStatus(0),
    58     m_bufferLengthInSecs(0.0),
    60     m_nbOriginalBlocks(128),
    66     m_addressEdited(false),
    67     m_dataPortEdited(false),
    68     m_countUnrecoverable(0),
    70     m_doApplySettings(true),
    71     m_forceSettings(true),
    81     ui->centerFrequency->setValueRange(7, 0, 9999999U);
    84     ui->centerFrequencyHz->setValueRange(3, 0, 999U);
    87     connect(startStopRightClickEnabler, SIGNAL(rightClick(
const QPoint &)), 
this, SLOT(
openDeviceSettingsDialog(
const QPoint &)));
   101     connect(
m_networkManager, SIGNAL(finished(QNetworkReply*)), 
this, SLOT(networkManagerFinished(QNetworkReply*)));
   111     disconnect(
m_networkManager, SIGNAL(finished(QNetworkReply*)), 
this, SLOT(networkManagerFinished(QNetworkReply*)));
   151     qDebug(
"LocalInputGui::deserialize");
   174     (void) centerFrequency;
   230             qDebug(
"LocalInputGui::handleInputMessages: DSPSignalNotification: SampleRate:%d, CenterFrequency:%llu", notif->
getSampleRate(), notif->
getCenterFrequency());
   303         ui->record->setStyleSheet(
"QToolButton { background-color : red; }");
   305         ui->record->setStyleSheet(
"QToolButton { background:rgb(79,79,79); }");
   316         qDebug() << 
"LocalInputGui::updateHardware";
   334                 ui->startStop->setStyleSheet(
"QToolButton { background:rgb(79,79,79); }");
   337                 ui->startStop->setStyleSheet(
"QToolButton { background-color : blue; }");
   340                 ui->startStop->setStyleSheet(
"QToolButton { background-color : green; }");
   343                 ui->startStop->setStyleSheet(
"QToolButton { background-color : red; }");
 
Message * pop()
Pop message from queue. 
const QString & getReverseAPIAddress() const
void push(Message *message, bool emitSignal=true)
Push message onto queue. 
void setSampleRate(qint32 sampleRate)
DeviceSampleSource * getSampleSource()
Return pointer to the device sample source (single Rx) or nullptr. 
void setUseReverseAPI(bool useReverseAPI)
MessageQueue * getInputMessageQueue()
uint16_t getReverseAPIDeviceIndex() const
QString errorMessage()
Last error message from the device engine. 
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
GLSpectrum * getSpectrum()
Direct spectrum getter. 
engine is before initialization 
qint64 getCenterFrequency() const
EngineState state() const
Return the state of the device engine corresponding to the stream type. 
uint16_t getReverseAPIPort() const
static bool match(const Message *message)
int getSampleRate() const
void setCenterFrequency(qint64 frequency)
void setReverseAPIAddress(const QString &address)
void setReverseAPIDeviceIndex(uint16_t deviceIndex)
void setReverseAPIPort(uint16_t port)
bool useReverseAPI() const