23 #ifndef SPECTRUM_UPDATE_EVENTS_H 24 #define SPECTRUM_UPDATE_EVENTS_H 45 const uint64_t numFFTDataPoints,
46 const double* realTimeDomainPoints,
47 const double* imagTimeDomainPoints,
48 const uint64_t numTimeDomainDataPoints,
50 const bool repeatDataFlag,
51 const bool lastOfMultipleUpdateFlag,
53 const int droppedFFTFrames);
71 double* _realDataTimeDomainPoints;
72 double* _imagDataTimeDomainPoints;
73 uint64_t _numFFTDataPoints;
74 uint64_t _numTimeDomainDataPoints;
77 bool _lastOfMultipleUpdateFlag;
79 int _droppedFFTFrames;
109 double GetCenterFrequency()
const;
110 double GetStartFrequency()
const;
111 double GetStopFrequency()
const;
115 double _centerFrequency;
116 double _startFrequency;
117 double _stopFrequency;
125 const uint64_t numTimeDomainDataPoints,
126 const std::vector<std::vector<gr::tag_t>> tags);
131 const std::vector<double*> getTimeDomainPoints()
const;
135 const std::vector<std::vector<gr::tag_t>> getTags()
const;
142 std::vector<double*> _dataTimeDomainPoints;
143 uint64_t _numTimeDomainDataPoints;
144 std::vector<std::vector<gr::tag_t>> _tags;
154 FreqUpdateEvent(
const std::vector<double*> dataPoints,
const uint64_t numDataPoints);
159 const std::vector<double*> getPoints()
const;
160 uint64_t getNumDataPoints()
const;
168 std::vector<double*> _dataPoints;
169 uint64_t _numDataPoints;
178 double getCenterFrequency()
const;
179 double getBandwidth()
const;
182 double _centerFrequency;
194 const std::vector<double*> imagDataPoints,
195 const uint64_t numDataPoints);
200 const std::vector<double*> getRealPoints()
const;
201 const std::vector<double*> getImagPoints()
const;
202 uint64_t getNumDataPoints()
const;
210 std::vector<double*> _realDataPoints;
211 std::vector<double*> _imagDataPoints;
212 uint64_t _numDataPoints;
223 const uint64_t numDataPoints,
229 const std::vector<double*> getPoints()
const;
230 uint64_t getNumDataPoints()
const;
240 std::vector<double*> _dataPoints;
241 uint64_t _numDataPoints;
254 const uint64_t numDataPoints);
258 const std::vector<double*> getPoints()
const;
259 uint64_t getNumDataPoints()
const;
267 std::vector<double*> _dataPoints;
268 uint64_t _numDataPoints;
278 double nRows()
const;
279 double nCols()
const;
300 const std::vector<double*> getDataPoints()
const;
301 uint64_t getNumDataPoints()
const;
309 std::vector<double*> _points;
320 bool getAccumulator()
const;
349 const std::vector<float> getSamples()
const;
356 std::vector<float> _samples;
const float * getFFTPoints() const
uint64_t getNumFFTDataPoints() const
Definition: spectrumUpdateEvents.h:104
const double * getRealTimeDomainPoints() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:262
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:235
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:281
static const int SpectrumFrequencyRangeEventType
Definition: spectrumUpdateEvents.h:38
~HistogramClearEvent()
Definition: spectrumUpdateEvents.h:333
Definition: spectrumUpdateEvents.h:94
gr::high_res_timer_type getDataTimestamp() const
Definition: spectrumUpdateEvents.h:292
static const int SpectrumUpdateEventType
Definition: spectrumUpdateEvents.h:35
Definition: spectrumUpdateEvents.h:190
Definition: spectrumUpdateEvents.h:328
static const int SpectrumWindowResetEventType
Definition: spectrumUpdateEvents.h:37
uint64_t getNumTimeDomainDataPoints() const
Definition: spectrumUpdateEvents.h:314
Definition: spectrumUpdateEvents.h:121
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:351
bool getLastOfMultipleUpdateFlag() const
Definition: spectrumUpdateEvents.h:173
Definition: spectrumUpdateEvents.h:342
HistogramClearEvent()
Definition: spectrumUpdateEvents.h:331
const double * getImagTimeDomainPoints() const
Definition: spectrumUpdateEvents.h:151
Definition: spectrumUpdateEvents.h:82
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:335
Definition: spectrumUpdateEvents.h:272
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:163
Definition: spectrumUpdateEvents.h:250
Definition: spectrumUpdateEvents.h:40
signed long long high_res_timer_type
Typedef for the timer tick count.
Definition: high_res_timer.h:49
static const int SpectrumWindowCaptionEventType
Definition: spectrumUpdateEvents.h:36
Definition: spectrumUpdateEvents.h:219
bool getRepeatDataFlag() const
gr::high_res_timer_type getEventGeneratedTimestamp() const
int getDroppedFFTFrames() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:137
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)
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:304
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:322
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:205