summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/spectrumUpdateEvents.h
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-07-03 19:27:09 -0400
committerTom Rondeau <trondeau@vt.edu>2012-07-03 19:27:09 -0400
commitd97fb837b0a478d912dccdc0f4891faf1d541a5c (patch)
treec2217a3dc3b5ddd9d8b99e589815ba0b17e2c19d /gr-qtgui/lib/spectrumUpdateEvents.h
parent86c2c18e107e7e9909a2dee88586b96463fd798c (diff)
qtgui: adding a stand-alone constellation plot form with menus.
Diffstat (limited to 'gr-qtgui/lib/spectrumUpdateEvents.h')
-rw-r--r--gr-qtgui/lib/spectrumUpdateEvents.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gr-qtgui/lib/spectrumUpdateEvents.h b/gr-qtgui/lib/spectrumUpdateEvents.h
index 8b960dac2b..419ceacf4b 100644
--- a/gr-qtgui/lib/spectrumUpdateEvents.h
+++ b/gr-qtgui/lib/spectrumUpdateEvents.h
@@ -148,4 +148,35 @@ private:
};
+/********************************************************************/
+
+
+class ConstUpdateEvent: public QEvent
+{
+public:
+ ConstUpdateEvent(const std::vector<double*> realDataPoints,
+ const std::vector<double*> imagDataPoints,
+ const uint64_t numDataPoints);
+
+ ~ConstUpdateEvent();
+
+ int which() const;
+ const std::vector<double*> getRealPoints() const;
+ const std::vector<double*> getImagPoints() const;
+ uint64_t getNumDataPoints() const;
+ bool getRepeatDataFlag() const;
+
+ static QEvent::Type Type()
+ { return QEvent::Type(SpectrumUpdateEventType); }
+
+protected:
+
+private:
+ size_t _nplots;
+ std::vector<double*> _realDataPoints;
+ std::vector<double*> _imagDataPoints;
+ uint64_t _numDataPoints;
+};
+
+
#endif /* SPECTRUM_UPDATE_EVENTS_H */