23 #ifndef SPECTRUM_GUI_CLASS_HPP
24 #define SPECTRUM_GUI_CLASS_HPP
28 #include <qapplication.h>
50 const double newCenterFrequency,
51 const double newStartFrequency,
52 const double newStopFrequency);
57 const bool frequency=
true,
const bool waterfall=
true,
58 const bool time=
true,
const bool constellation=
true);
70 const uint64_t,
const float*,
71 const uint64_t,
const float*,
100 double ymin,
double ymax);
118 double _centerFrequency;
119 double _startFrequency;
120 double _stopFrequency;
122 bool _windowOpennedFlag;
124 int64_t _lastDataPointCount;
127 unsigned int _pendingGUIUpdateEventsCount;
128 int _droppedEntriesCount;
129 bool _fftBuffersCreatedFlag;
135 double* _realTimeDomainPoints;
136 double* _imagTimeDomainPoints;
void setWindowOpenFlag(const bool)
gr::high_res_timer_type getLastGUIUpdateTime()
double getStopFrequency()
float min(float a, float b)
void setTimeDomainAxis(double min, double max)
void decrementPendingGUIUpdateEvents()
void setWindowType(const int)
double getCenterFrequency()
unsigned int getPendingGUIUpdateEvents()
void setFrequencyRange(const double, const double, const double)
void openSpectrumWindow(QWidget *, const bool frequency=true, const bool waterfall=true, const bool time=true, const bool constellation=true)
double getStartFrequency()
void incrementPendingGUIUpdateEvents()
void setLastGUIUpdateTime(const gr::high_res_timer_type)
void setFFTSize(const int)
void setDisplayTitle(const std::string)
void setUpdateTime(double t)
static const long MIN_FFT_SIZE
Definition: SpectrumGUIClass.h:94
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
void setConstellationPenSize(int size)
void setPowerValue(const float)
void enableRFFreq(bool en)
SpectrumGUIClass(const uint64_t maxDataSize, const uint64_t fftSize, const double newCenterFrequency, const double newStartFrequency, const double newStopFrequency)
QWidget class for controlling plotting.
Definition: SpectrumGUIClass.h:46
boost::mutex mutex
Definition: thread.h:46
static const long MAX_FFT_SIZE
Definition: SpectrumGUIClass.h:93
void setFrequencyAxis(double min, double max)
void setConstellationAxis(double xmin, double xmax, double ymin, double ymax)
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 resetPendingGUIUpdateEvents()