diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-10-27 13:50:23 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-10-29 16:21:03 -0400 |
commit | bea941449edcb709f02f95c9f7cf1a47cd9d2ae8 (patch) | |
tree | 094bea3f3d53e9a35fb9619d52b727eb58c36436 /gr-qtgui/lib/spectrumUpdateEvents.cc | |
parent | 253e6c3d8ab51eb8d660a0d8f881498c33b2bb1b (diff) |
qtgui: time raster plotters support PDU message plotting.
Diffstat (limited to 'gr-qtgui/lib/spectrumUpdateEvents.cc')
-rw-r--r-- | gr-qtgui/lib/spectrumUpdateEvents.cc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gr-qtgui/lib/spectrumUpdateEvents.cc b/gr-qtgui/lib/spectrumUpdateEvents.cc index 1294587409..60e07fc644 100644 --- a/gr-qtgui/lib/spectrumUpdateEvents.cc +++ b/gr-qtgui/lib/spectrumUpdateEvents.cc @@ -473,6 +473,32 @@ TimeRasterUpdateEvent::getNumDataPoints() const return _numDataPoints; } + + + +TimeRasterSetSize::TimeRasterSetSize(const double nrows, + const double ncols) + : QEvent(QEvent::Type(SpectrumUpdateEventType+1)), + _nrows(nrows), _ncols(ncols) +{ +} + +TimeRasterSetSize::~TimeRasterSetSize() +{ +} + +double +TimeRasterSetSize::nRows() const +{ + return _nrows; +} + +double +TimeRasterSetSize::nCols() const +{ + return _ncols; +} + /***************************************************************************/ |