summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/spectrumUpdateEvents.h
diff options
context:
space:
mode:
authorTom Rondeau2011-04-24 10:23:05 -0400
committerTom Rondeau2011-04-24 10:23:05 -0400
commit88f157a1a71e0a3603a912e437ad5d2c07ffc8b9 (patch)
tree7f5305a8f29c8ea0776daba661d60d082410e583 /gr-qtgui/lib/spectrumUpdateEvents.h
parentc7b491e220394efde4828b443237dcea10cbae45 (diff)
parent371ca93c2a1506d22db69fb96b2cf7d4ed132535 (diff)
downloadgnuradio-88f157a1a71e0a3603a912e437ad5d2c07ffc8b9.tar.gz
gnuradio-88f157a1a71e0a3603a912e437ad5d2c07ffc8b9.tar.bz2
gnuradio-88f157a1a71e0a3603a912e437ad5d2c07ffc8b9.zip
Merge branch 'qtgui_time'
Conflicts: gr-qtgui/apps/pyqt_example_f.py
Diffstat (limited to 'gr-qtgui/lib/spectrumUpdateEvents.h')
-rw-r--r--gr-qtgui/lib/spectrumUpdateEvents.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gr-qtgui/lib/spectrumUpdateEvents.h b/gr-qtgui/lib/spectrumUpdateEvents.h
index ccc072c3e..a5e359a4c 100644
--- a/gr-qtgui/lib/spectrumUpdateEvents.h
+++ b/gr-qtgui/lib/spectrumUpdateEvents.h
@@ -5,6 +5,7 @@
#include <QEvent>
#include <QString>
#include <complex>
+#include <vector>
#include <highResTimeFunctions.h>
class SpectrumUpdateEvent:public QEvent{
@@ -89,4 +90,27 @@ private:
};
+class TimeUpdateEvent: public QEvent
+{
+public:
+ TimeUpdateEvent(const std::vector<double*> timeDomainPoints,
+ const uint64_t numTimeDomainDataPoints);
+
+ ~TimeUpdateEvent();
+
+ int which() const;
+ const std::vector<double*> getTimeDomainPoints() const;
+ uint64_t getNumTimeDomainDataPoints() const;
+ timespec getDataTimestamp() const;
+ bool getRepeatDataFlag() const;
+
+protected:
+
+private:
+ size_t _nplots;
+ std::vector<double*> _dataTimeDomainPoints;
+ uint64_t _numTimeDomainDataPoints;
+};
+
+
#endif /* SPECTRUM_UPDATE_EVENTS_H */