2017-01-29 13:51:45 -05:00
|
|
|
#ifndef INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
|
|
|
|
#define INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
|
|
|
|
|
|
|
|
#include <dsp/basebandsamplesink.h>
|
|
|
|
#include "dsp/spectrumvis.h"
|
2018-03-20 08:49:21 -04:00
|
|
|
#include "export.h"
|
2017-01-29 13:51:45 -05:00
|
|
|
|
|
|
|
class Message;
|
2018-08-12 11:22:39 -04:00
|
|
|
class ScopeVis;
|
2017-01-29 13:51:45 -05:00
|
|
|
|
2018-08-12 11:10:31 -04:00
|
|
|
class SDRGUI_API SpectrumScopeComboVis : public BasebandSampleSink {
|
2017-01-29 13:51:45 -05:00
|
|
|
public:
|
|
|
|
|
2018-08-12 11:18:58 -04:00
|
|
|
SpectrumScopeComboVis(SpectrumVis* spectrumVis, ScopeVis* scopeVis);
|
2018-08-12 11:10:31 -04:00
|
|
|
virtual ~SpectrumScopeComboVis();
|
2017-01-29 13:51:45 -05:00
|
|
|
|
2020-11-15 02:31:49 -05:00
|
|
|
using BasebandSampleSink::feed;
|
2017-01-29 13:51:45 -05:00
|
|
|
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly);
|
|
|
|
virtual void start();
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool handleMessage(const Message& message);
|
|
|
|
|
|
|
|
private:
|
|
|
|
SpectrumVis* m_spectrumVis;
|
2018-08-12 11:18:58 -04:00
|
|
|
ScopeVis* m_scopeVis;
|
2017-01-29 13:51:45 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
|