mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-15 12:51:49 -05:00
Tx refactoring: added some missing method bodies
This commit is contained in:
parent
dd7dfae066
commit
34965d3935
@ -501,3 +501,8 @@ void FileSource::propagateMessageQueueToGUI()
|
|||||||
{
|
{
|
||||||
m_basebandSource->setMessageQueueToGUI(getMessageQueueToGUI());
|
m_basebandSource->setMessageQueueToGUI(getMessageQueueToGUI());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double FileSource::getMagSq() const
|
||||||
|
{
|
||||||
|
return m_basebandSource->getMagSq();
|
||||||
|
}
|
@ -561,3 +561,22 @@ void UDPSource::setLevelMeter(QObject *levelMeter)
|
|||||||
{
|
{
|
||||||
connect(m_basebandSource, SIGNAL(levelChanged(qreal, qreal, int)), levelMeter, SLOT(levelChanged(qreal, qreal, int)));
|
connect(m_basebandSource, SIGNAL(levelChanged(qreal, qreal, int)), levelMeter, SLOT(levelChanged(qreal, qreal, int)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
double UDPSource::getMagSq() const
|
||||||
|
{
|
||||||
|
return m_basebandSource->getMagSq();
|
||||||
|
}
|
||||||
|
double UDPSource::getInMagSq() const
|
||||||
|
{
|
||||||
|
return m_basebandSource->getInMagSq();
|
||||||
|
}
|
||||||
|
|
||||||
|
int32_t UDPSource::getBufferGauge() const
|
||||||
|
{
|
||||||
|
return m_basebandSource->getBufferGauge();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool UDPSource::getSquelchOpen() const
|
||||||
|
{
|
||||||
|
return m_basebandSource->getSquelchOpen();
|
||||||
|
}
|
@ -144,7 +144,7 @@ public:
|
|||||||
double getMagSq() const;
|
double getMagSq() const;
|
||||||
double getInMagSq() const;
|
double getInMagSq() const;
|
||||||
int32_t getBufferGauge() const;
|
int32_t getBufferGauge() const;
|
||||||
bool getSquelchOpen();
|
bool getSquelchOpen() const;
|
||||||
void setSpectrumSink(BasebandSampleSink* spectrum);
|
void setSpectrumSink(BasebandSampleSink* spectrum);
|
||||||
void setSpectrum(bool enabled);
|
void setSpectrum(bool enabled);
|
||||||
void resetReadIndex();
|
void resetReadIndex();
|
||||||
|
@ -122,6 +122,9 @@ public:
|
|||||||
void pull(const SampleVector::iterator& begin, unsigned int nbSamples);
|
void pull(const SampleVector::iterator& begin, unsigned int nbSamples);
|
||||||
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication
|
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication
|
||||||
double getMagSq() const { return m_source.getMagSq(); }
|
double getMagSq() const { return m_source.getMagSq(); }
|
||||||
|
double getInMagSq() const { return m_source.getInMagSq(); }
|
||||||
|
int32_t getBufferGauge() const { return m_source.getBufferGauge(); }
|
||||||
|
bool getSquelchOpen() const { return m_source.getSquelchOpen(); }
|
||||||
int getChannelSampleRate() const;
|
int getChannelSampleRate() const;
|
||||||
bool isSquelchOpen() const;
|
bool isSquelchOpen() const;
|
||||||
void setSpectrumSink(BasebandSampleSink *spectrumSink) { m_source.setSpectrumSink(spectrumSink); }
|
void setSpectrumSink(BasebandSampleSink *spectrumSink) { m_source.setSpectrumSink(spectrumSink); }
|
||||||
|
Loading…
Reference in New Issue
Block a user