diff options
author | Tom Rondeau | 2010-05-01 19:06:13 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-05-01 19:06:13 -0400 |
commit | 6606af991b15174cbdbaca738669a21461b0fbe6 (patch) | |
tree | 1fc38aa738e8dccc675ac3da0938fbd3e992eca2 /gr-qtgui/src/lib/spectrumUpdateEvents.h | |
parent | f1b71c9525dd56e2c296a2bca4b2db9ed1a320ce (diff) | |
download | gnuradio-6606af991b15174cbdbaca738669a21461b0fbe6.tar.gz gnuradio-6606af991b15174cbdbaca738669a21461b0fbe6.tar.bz2 gnuradio-6606af991b15174cbdbaca738669a21461b0fbe6.zip |
Fixes the replotting update. It's now based on a QTimer so it's in the event buffer as opposed to a best effort based on a hand-made timer. The interval between GUI updates is settable through the qtsink_X objects with set_update_time(newtime). This update makes the plotting much more stable. It also fixes the time scale of the waterfall plot to actually mean the right thing.
Diffstat (limited to 'gr-qtgui/src/lib/spectrumUpdateEvents.h')
-rw-r--r-- | gr-qtgui/src/lib/spectrumUpdateEvents.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-qtgui/src/lib/spectrumUpdateEvents.h b/gr-qtgui/src/lib/spectrumUpdateEvents.h index 75fa27324..9c46d4bf3 100644 --- a/gr-qtgui/src/lib/spectrumUpdateEvents.h +++ b/gr-qtgui/src/lib/spectrumUpdateEvents.h @@ -10,14 +10,13 @@ class SpectrumUpdateEvent:public QEvent{ public: - SpectrumUpdateEvent(const std::complex<float>* fftPoints, const uint64_t numFFTDataPoints, const double* realTimeDomainPoints, const double* imagTimeDomainPoints, const uint64_t numTimeDomainDataPoints, const double timePerFFT, const timespec dataTimestamp, const bool repeatDataFlag, const bool lastOfMultipleUpdateFlag, const timespec generatedTimestamp, const int droppedFFTFrames); + SpectrumUpdateEvent(const std::complex<float>* fftPoints, const uint64_t numFFTDataPoints, const double* realTimeDomainPoints, const double* imagTimeDomainPoints, const uint64_t numTimeDomainDataPoints, const timespec dataTimestamp, const bool repeatDataFlag, const bool lastOfMultipleUpdateFlag, const timespec generatedTimestamp, const int droppedFFTFrames); ~SpectrumUpdateEvent(); const std::complex<float>* getFFTPoints()const; const double* getRealTimeDomainPoints()const; const double* getImagTimeDomainPoints()const; uint64_t getNumFFTDataPoints()const; uint64_t getNumTimeDomainDataPoints()const; - double getTimePerFFT()const; timespec getDataTimestamp()const; bool getRepeatDataFlag()const; bool getLastOfMultipleUpdateFlag()const; @@ -32,7 +31,6 @@ private: double* _imagDataTimeDomainPoints; uint64_t _numFFTDataPoints; uint64_t _numTimeDomainDataPoints; - double _timePerFFT; timespec _dataTimestamp; bool _repeatDataFlag; bool _lastOfMultipleUpdateFlag; |