11#ifndef SPECTRUM_UPDATE_EVENTS_H
12#define SPECTRUM_UPDATE_EVENTS_H
17#include <volk/volk_alloc.hh>
34 const uint64_t numFFTDataPoints,
35 const double* realTimeDomainPoints,
36 const double* imagTimeDomainPoints,
37 const uint64_t numTimeDomainDataPoints,
39 const bool repeatDataFlag,
40 const bool lastOfMultipleUpdateFlag,
42 const int droppedFFTFrames);
59 std::vector<float> d_fft_points;
60 std::vector<double> d_real_data_time_domain_points;
61 std::vector<double> d_imag_data_time_domain_points;
64 bool _lastOfMultipleUpdateFlag;
66 int _droppedFFTFrames;
102 double _centerFrequency;
103 double _startFrequency;
104 double _stopFrequency;
112 const uint64_t numTimeDomainDataPoints,
113 const std::vector<std::vector<gr::tag_t>> tags);
122 const std::vector<std::vector<gr::tag_t>>
getTags()
const;
129 std::vector<double*> _dataTimeDomainPoints;
130 uint64_t _numTimeDomainDataPoints;
131 std::vector<std::vector<gr::tag_t>> _tags;
142 const uint64_t numDataPoints);
156 std::vector<double*> _dataPoints;
157 uint64_t _numDataPoints;
170 double _centerFrequency;
182 const std::vector<volk::vector<double>> imagDataPoints,
183 const uint64_t numDataPoints);
198 std::vector<double*> _realDataPoints;
199 std::vector<double*> _imagDataPoints;
200 uint64_t _numDataPoints;
211 const uint64_t numDataPoints,
228 std::vector<double*> _dataPoints;
229 uint64_t _numDataPoints;
242 const uint64_t numDataPoints);
255 std::vector<double*> _dataPoints;
256 uint64_t _numDataPoints;
284 const uint64_t npoints);
298 std::vector<double*> _points;
345 std::vector<float> _samples;
Definition: spectrumUpdateEvents.h:179
~ConstUpdateEvent() override
ConstUpdateEvent(const std::vector< volk::vector< double > > realDataPoints, const std::vector< volk::vector< double > > imagDataPoints, const uint64_t numDataPoints)
const std::vector< double * > getImagPoints() const
bool getRepeatDataFlag() const
const std::vector< double * > getRealPoints() const
uint64_t getNumDataPoints() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:193
Definition: spectrumUpdateEvents.h:139
const std::vector< double * > getPoints() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:151
~FreqUpdateEvent() override
uint64_t getNumDataPoints() const
bool getRepeatDataFlag() const
FreqUpdateEvent(const std::vector< volk::vector< double > > dataPoints, const uint64_t numDataPoints)
Definition: spectrumUpdateEvents.h:318
~HistogramClearEvent() override
Definition: spectrumUpdateEvents.h:322
HistogramClearEvent()
Definition: spectrumUpdateEvents.h:320
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:324
Definition: spectrumUpdateEvents.h:304
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:311
bool getAccumulator() const
HistogramSetAccumulator(const bool en)
~HistogramSetAccumulator() override
Definition: spectrumUpdateEvents.h:281
HistogramUpdateEvent(const std::vector< volk::vector< double > > points, const uint64_t npoints)
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:293
bool getRepeatDataFlag() const
uint64_t getNumDataPoints() const
const std::vector< double * > getDataPoints() const
~HistogramUpdateEvent() override
Definition: spectrumUpdateEvents.h:332
~NumberUpdateEvent() override
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:340
const std::vector< float > getSamples() const
NumberUpdateEvent(const std::vector< float > samples)
Definition: spectrumUpdateEvents.h:162
SetFreqEvent(const double, const double)
double getBandwidth() const
double getCenterFrequency() const
Definition: spectrumUpdateEvents.h:92
~SpectrumFrequencyRangeEvent() override
double GetCenterFrequency() const
SpectrumFrequencyRangeEvent(const double, const double, const double)
double GetStartFrequency() const
double GetStopFrequency() const
Definition: spectrumUpdateEvents.h:30
int getDroppedFFTFrames() const
~SpectrumUpdateEvent() override
gr::high_res_timer_type getEventGeneratedTimestamp() const
uint64_t getNumFFTDataPoints() const
bool getRepeatDataFlag() const
SpectrumUpdateEvent(const float *fftPoints, const uint64_t numFFTDataPoints, const double *realTimeDomainPoints, const double *imagTimeDomainPoints, const uint64_t numTimeDomainDataPoints, const gr::high_res_timer_type dataTimestamp, const bool repeatDataFlag, const bool lastOfMultipleUpdateFlag, const gr::high_res_timer_type generatedTimestamp, const int droppedFFTFrames)
gr::high_res_timer_type getDataTimestamp() const
const double * getRealTimeDomainPoints() const
bool getLastOfMultipleUpdateFlag() const
const float * getFFTPoints() const
uint64_t getNumTimeDomainDataPoints() const
const double * getImagTimeDomainPoints() const
Definition: spectrumUpdateEvents.h:70
SpectrumWindowCaptionEvent(const QString &)
~SpectrumWindowCaptionEvent() override
Definition: spectrumUpdateEvents.h:82
SpectrumWindowResetEvent()
~SpectrumWindowResetEvent() override
Definition: spectrumUpdateEvents.h:261
~TimeRasterSetSize() override
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:269
TimeRasterSetSize(const double nrows, const double ncols)
Definition: spectrumUpdateEvents.h:239
TimeRasterUpdateEvent(const std::vector< volk::vector< double > > dataPoints, const uint64_t numDataPoints)
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:250
~TimeRasterUpdateEvent() override
const std::vector< double * > getPoints() const
bool getRepeatDataFlag() const
uint64_t getNumDataPoints() const
Definition: spectrumUpdateEvents.h:109
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:124
const std::vector< double * > getTimeDomainPoints() const
uint64_t getNumTimeDomainDataPoints() const
TimeUpdateEvent(const std::vector< volk::vector< double > > timeDomainPoints, const uint64_t numTimeDomainDataPoints, const std::vector< std::vector< gr::tag_t > > tags)
const std::vector< std::vector< gr::tag_t > > getTags() const
~TimeUpdateEvent() override
bool getRepeatDataFlag() const
Definition: spectrumUpdateEvents.h:208
~WaterfallUpdateEvent() override
const std::vector< double * > getPoints() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:223
WaterfallUpdateEvent(const std::vector< volk::vector< double > > dataPoints, const uint64_t numDataPoints, const gr::high_res_timer_type dataTimestamp)
bool getRepeatDataFlag() const
uint64_t getNumDataPoints() const
gr::high_res_timer_type getDataTimestamp() const
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:18
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:40
static constexpr int SpectrumWindowCaptionEventType
Definition: spectrumUpdateEvents.h:25
static constexpr int SpectrumWindowResetEventType
Definition: spectrumUpdateEvents.h:26
static constexpr int SpectrumFrequencyRangeEventType
Definition: spectrumUpdateEvents.h:27
static constexpr int SpectrumUpdateEventType
Definition: spectrumUpdateEvents.h:24