19 #ifndef INCLUDE_DSPDEVICEENGINE_H 20 #define INCLUDE_DSPDEVICEENGINE_H 25 #include <QWaitCondition> 52 uint
getUID()
const {
return m_uid; }
59 bool initAcquisition();
60 bool startAcquisition();
61 void stopAcquistion();
64 void setSourceSequence(
int sequence);
73 void configureCorrections(
bool dcOffsetCorrection,
bool iqImbalanceCorrection);
77 QString errorMessage();
78 QString sourceDeviceDescription();
135 void iqCorrections(SampleVector::iterator begin, SampleVector::iterator end,
bool imbalanceCorrection);
136 void dcOffset(SampleVector::iterator begin, SampleVector::iterator end);
137 void imbalance(SampleVector::iterator begin, SampleVector::iterator end);
143 State gotoError(
const QString& errorMsg);
149 void handleInputMessages();
150 void handleSynchronousMessages();
153 #endif // INCLUDE_DSPDEVICEENGINE_H
MovingAverageUtil< float, double, 128 > m_avgIQ
MovingAverageUtil< double, double, 128 > m_avgAmp
std::list< BasebandSampleSink * > BasebandSampleSinks
engine is before initialization
BasebandSampleSinks m_basebandSampleSinks
sample sinks within main thread (usually spectrum, file output)
DeviceSampleSource * getSource()
int m_sampleSourceSequence
DeviceSampleSource * m_deviceSampleSource
MovingAverageUtil< float, double, 128 > m_avgQQ2
MovingAverageUtil< float, double, 128 > m_avgII2
MovingAverageUtil< double, double, 128 > m_avgPhi
bool m_iqImbalanceCorrection
QString m_deviceDescription
MovingAverageUtil< int32_t, int64_t, 1024 > m_iBeta
bool m_dcOffsetCorrection
MessageQueue m_inputMessageQueue
State state() const
Return DSP engine current state.
std::list< ThreadedBasebandSampleSink * > ThreadedBasebandSampleSinks
ThreadedBasebandSampleSinks m_threadedBasebandSampleSinks
sample sinks on their own threads (usually channels)
MovingAverageUtil< float, double, 128 > m_avgII
quint64 m_centerFrequency
SyncMessenger m_syncMessenger
Used to process messages synchronously with the thread.
MessageQueue * getInputMessageQueue()
MovingAverageUtil< int32_t, int64_t, 1024 > m_qBeta