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);
46 const bool frequency =
true,
47 const bool waterfall =
true,
48 const bool time =
true,
49 const bool constellation =
true);
110 double _centerFrequency;
111 double _startFrequency;
112 double _stopFrequency;
114 bool _windowOpennedFlag;
116 int64_t _lastDataPointCount;
119 unsigned int _pendingGUIUpdateEventsCount;
120 int _droppedEntriesCount;
121 bool _fftBuffersCreatedFlag;
127 double* _realTimeDomainPoints;
128 double* _imagTimeDomainPoints;
QWidget class for controlling plotting.
Definition: SpectrumGUIClass.h:35
SpectrumGUIClass(const uint64_t maxDataSize, const uint64_t fftSize, const double newCenterFrequency, const double newStartFrequency, const double newStopFrequency)
void setFFTSize(const int)
void setWindowType(const int)
void setDisplayTitle(const std::string)
void setPowerValue(const float)
void resetPendingGUIUpdateEvents()
void setFrequencyAxis(double min, double max)
void setWindowOpenFlag(const bool)
void setConstellationPenSize(int size)
double getCenterFrequency()
void setLastGUIUpdateTime(const gr::high_res_timer_type)
void openSpectrumWindow(QWidget *, const bool frequency=true, const bool waterfall=true, const bool time=true, const bool constellation=true)
static const long MIN_FFT_SIZE
Definition: SpectrumGUIClass.h:89
void incrementPendingGUIUpdateEvents()
gr::high_res_timer_type getLastGUIUpdateTime()
void setConstellationAxis(double xmin, double xmax, double ymin, double ymax)
void setFrequencyRange(const double, const double, const double)
void decrementPendingGUIUpdateEvents()
static const long MAX_FFT_SIZE
Definition: SpectrumGUIClass.h:88
void setTimeDomainAxis(double min, double max)
void enableRFFreq(bool en)
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)
double getStopFrequency()
void setUpdateTime(double t)
double getStartFrequency()
unsigned int getPendingGUIUpdateEvents()
boost::mutex mutex
Definition: thread.h:37
float min(float a, float b)
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:39