1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 04:03:30 -05:00
sdrangel/sdrgui/dsp/spectrumscopecombovis.h

28 lines
721 B
C
Raw Normal View History

2017-01-29 13:51:45 -05:00
#ifndef INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
#define INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
#include <dsp/basebandsamplesink.h>
#include "dsp/spectrumvis.h"
#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
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);
virtual ~SpectrumScopeComboVis();
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