23 #ifndef SPECTRUM_UPDATE_EVENTS_H 24 #define SPECTRUM_UPDATE_EVENTS_H 44 const uint64_t numFFTDataPoints,
45 const double* realTimeDomainPoints,
46 const double* imagTimeDomainPoints,
47 const uint64_t numTimeDomainDataPoints,
49 const bool repeatDataFlag,
50 const bool lastOfMultipleUpdateFlag,
52 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;
116 double _centerFrequency;
117 double _startFrequency;
118 double _stopFrequency;
126 const uint64_t numTimeDomainDataPoints,
127 const std::vector< std::vector<gr::tag_t> > tags);
132 const std::vector<double*> getTimeDomainPoints()
const;
136 const std::vector< std::vector<gr::tag_t> > getTags()
const;
145 std::vector<double*> _dataTimeDomainPoints;
146 uint64_t _numTimeDomainDataPoints;
147 std::vector< std::vector<gr::tag_t> > _tags;
158 const uint64_t numDataPoints);
163 const std::vector<double*> getPoints()
const;
164 uint64_t getNumDataPoints()
const;
174 std::vector<double*> _dataPoints;
175 uint64_t _numDataPoints;
184 double getCenterFrequency()
const;
185 double getBandwidth()
const;
188 double _centerFrequency;
200 const std::vector<double*> imagDataPoints,
201 const uint64_t numDataPoints);
206 const std::vector<double*> getRealPoints()
const;
207 const std::vector<double*> getImagPoints()
const;
208 uint64_t getNumDataPoints()
const;
218 std::vector<double*> _realDataPoints;
219 std::vector<double*> _imagDataPoints;
220 uint64_t _numDataPoints;
231 const uint64_t numDataPoints,
237 const std::vector<double*> getPoints()
const;
238 uint64_t getNumDataPoints()
const;
250 std::vector<double*> _dataPoints;
251 uint64_t _numDataPoints;
264 const uint64_t numDataPoints);
268 const std::vector<double*> getPoints()
const;
269 uint64_t getNumDataPoints()
const;
279 std::vector<double*> _dataPoints;
280 uint64_t _numDataPoints;
291 double nRows()
const;
292 double nCols()
const;
310 const uint64_t npoints);
315 const std::vector<double*> getDataPoints()
const;
316 uint64_t getNumDataPoints()
const;
326 std::vector<double*> _points;
337 bool getAccumulator()
const;
370 const std::vector<float> getSamples()
const;
379 std::vector<float> _samples;
Definition: spectrumUpdateEvents.h:105
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:272
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:243
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:294
static const int SpectrumFrequencyRangeEventType
Definition: spectrumUpdateEvents.h:38
~HistogramClearEvent()
Definition: spectrumUpdateEvents.h:353
Definition: spectrumUpdateEvents.h:94
Definition: spectrumUpdateEvents.h:306
static const int SpectrumUpdateEventType
Definition: spectrumUpdateEvents.h:35
Definition: spectrumUpdateEvents.h:196
Definition: spectrumUpdateEvents.h:346
static const int SpectrumWindowResetEventType
Definition: spectrumUpdateEvents.h:37
Definition: spectrumUpdateEvents.h:331
Definition: spectrumUpdateEvents.h:122
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:372
const double * getImagTimeDomainPoints() const
Definition: spectrumUpdateEvents.h:179
Definition: spectrumUpdateEvents.h:363
HistogramClearEvent()
Definition: spectrumUpdateEvents.h:349
gr::high_res_timer_type getDataTimestamp() const
Definition: spectrumUpdateEvents.h:154
Definition: spectrumUpdateEvents.h:82
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:355
Definition: spectrumUpdateEvents.h:284
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:167
Definition: spectrumUpdateEvents.h:260
gr::high_res_timer_type getEventGeneratedTimestamp() const
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:227
bool getRepeatDataFlag() const
bool getLastOfMultipleUpdateFlag() const
int getDroppedFFTFrames() const
const double * getRealTimeDomainPoints() const
uint64_t getNumFFTDataPoints() const
uint64_t getNumTimeDomainDataPoints() const
const float * getFFTPoints() const
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:138
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:319
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:339
static QEvent::Type Type()
Definition: spectrumUpdateEvents.h:211