projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream' into dfsg-orig
[debian/gnuradio]
/
gr-qtgui
/
src
/
lib
/
TimeDomainDisplayPlot.h
diff --git
a/gr-qtgui/src/lib/TimeDomainDisplayPlot.h
b/gr-qtgui/src/lib/TimeDomainDisplayPlot.h
index 9c6364af297d22c562aa003d9b625b16022b548e..5525bbabe956bc2379c33426f0f28449056aff92 100644
(file)
--- a/
gr-qtgui/src/lib/TimeDomainDisplayPlot.h
+++ b/
gr-qtgui/src/lib/TimeDomainDisplayPlot.h
@@
-21,13
+21,20
@@
public:
TimeDomainDisplayPlot(QWidget*);
virtual ~TimeDomainDisplayPlot();
TimeDomainDisplayPlot(QWidget*);
virtual ~TimeDomainDisplayPlot();
- void PlotNewData(const double* realDataPoints, const double* imagDataPoints, const int64_t numDataPoints);
+ void PlotNewData(const double* realDataPoints, const double* imagDataPoints,
+ const int64_t numDataPoints, const double timeInterval);
void SetImaginaryDataVisible(const bool);
virtual void replot();
void set_yaxis(double min, double max);
void SetImaginaryDataVisible(const bool);
virtual void replot();
void set_yaxis(double min, double max);
+ void set_xaxis(double min, double max);
+
+public slots:
+ void resizeSlot( QSize *s );
+ void SetSampleRate(double sr, double units,
+ const std::string &strunits);
protected slots:
void LegendEntryChecked(QwtPlotItem *plotItem, bool on);
protected slots:
void LegendEntryChecked(QwtPlotItem *plotItem, bool on);
@@
-47,11
+54,11
@@
private:
double* _imagDataPoints;
double* _xAxisPoints;
double* _imagDataPoints;
double* _xAxisPoints;
+ double _sampleRate;
+
timespec _lastReplot;
int64_t _numPoints;
timespec _lastReplot;
int64_t _numPoints;
-
- double _displayIntervalTime;
};
#endif /* TIME_DOMAIN_DISPLAY_PLOT_HPP */
};
#endif /* TIME_DOMAIN_DISPLAY_PLOT_HPP */