 |
GNU Radio Manual and C++ API Reference
3.10.5.1
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
11 #ifndef SPECTRUM_GUI_CLASS_HPP
12 #define SPECTRUM_GUI_CLASS_HPP
16 #include <qapplication.h>
38 const uint64_t fftSize,
39 const double newCenterFrequency,
40 const double newStartFrequency,
41 const double newStopFrequency);
53 const bool frequency =
true,
54 const bool waterfall =
true,
55 const bool time =
true,
56 const bool constellation =
true);
116 const int64_t _dataPoints;
118 double _centerFrequency;
119 double _startFrequency;
120 double _stopFrequency;
121 float _powerValue = 1;
122 bool _windowOpennedFlag =
false;
124 int64_t _lastDataPointCount;
127 unsigned int _pendingGUIUpdateEventsCount = 0;
128 int _droppedEntriesCount = 0;
129 double _updateTime = 0.5;
133 std::vector<float> _fftPoints;
134 std::vector<double> _realTimeDomainPoints;
135 std::vector<double> _imagTimeDomainPoints;
static const long MIN_FFT_SIZE
Definition: SpectrumGUIClass.h:96
void setDisplayTitle(const std::string)
void setUpdateTime(double t)
void setPowerValue(const float)
void enableRFFreq(bool en)
float min(float a, float b)
void setConstellationPenSize(int size)
SpectrumGUIClass(const uint64_t maxDataSize, const uint64_t fftSize, const double newCenterFrequency, const double newStartFrequency, const double newStopFrequency)
void updateWindow(const bool, const float *, const uint64_t, const float *, const uint64_t, const float *, const uint64_t, const gr::high_res_timer_type, const bool)
void setFrequencyAxis(double min, double max)
static const long MAX_FFT_SIZE
Definition: SpectrumGUIClass.h:95
void setConstellationAxis(double xmin, double xmax, double ymin, double ymax)
void setWindowOpenFlag(const bool)
void resetPendingGUIUpdateEvents()
boost::mutex mutex
Definition: thread.h:37
SpectrumGUIClass & operator=(const SpectrumGUIClass &)=delete
gr::high_res_timer_type getLastGUIUpdateTime()
double getStopFrequency()
static const long DEFAULT_FFT_SIZE
Definition: SpectrumGUIClass.h:97
void setTimeDomainAxis(double min, double max)
void decrementPendingGUIUpdateEvents()
void setWindowType(const int)
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:40
QWidget class for controlling plotting.
Definition: SpectrumGUIClass.h:34
double getCenterFrequency()
void setFrequencyRange(const double, const double, const double)
unsigned int getPendingGUIUpdateEvents()
double getStartFrequency()
void incrementPendingGUIUpdateEvents()
void openSpectrumWindow(QWidget *, const bool frequency=true, const bool waterfall=true, const bool time=true, const bool constellation=true)
void setLastGUIUpdateTime(const gr::high_res_timer_type)
void setFFTSize(const int)