2015-06-23 14:05:28 -04:00
|
|
|
#ifndef INCLUDE_SPECTRUMSCOPECOMBOVIS_H
|
|
|
|
#define INCLUDE_SPECTRUMSCOPECOMBOVIS_H
|
|
|
|
|
2016-10-02 16:29:04 -04:00
|
|
|
#include <dsp/basebandsamplesink.h>
|
2015-06-23 14:05:28 -04:00
|
|
|
#include "dsp/spectrumvis.h"
|
|
|
|
#include "dsp/scopevis.h"
|
2018-03-20 08:49:21 -04:00
|
|
|
#include "export.h"
|
2015-06-23 14:05:28 -04:00
|
|
|
|
2015-08-13 23:00:28 -04:00
|
|
|
class Message;
|
2015-06-23 14:05:28 -04:00
|
|
|
|
2018-03-03 14:23:38 -05:00
|
|
|
class SDRGUI_API SpectrumScopeComboVis : public BasebandSampleSink {
|
2015-06-23 14:05:28 -04:00
|
|
|
public:
|
|
|
|
|
|
|
|
SpectrumScopeComboVis(SpectrumVis* spectrumVis, ScopeVis* scopeVis);
|
2015-08-13 23:00:28 -04:00
|
|
|
virtual ~SpectrumScopeComboVis();
|
2015-06-23 14:05:28 -04:00
|
|
|
|
2015-08-25 02:24:23 -04:00
|
|
|
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly);
|
2015-08-13 23:00:28 -04:00
|
|
|
virtual void start();
|
|
|
|
virtual void stop();
|
|
|
|
virtual bool handleMessage(const Message& message);
|
2015-06-23 14:05:28 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
SpectrumVis* m_spectrumVis;
|
|
|
|
ScopeVis* m_scopeVis;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_SPECTRUMSCOPECOMBOVIS_H
|