1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 08:28:36 -05:00
sdrangel/sdrbase/dsp/spectrumscopengcombovis.h
2017-01-29 19:51:45 +01:00

28 lines
750 B
C++

#ifndef INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
#define INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H
#include <dsp/basebandsamplesink.h>
#include "dsp/spectrumvis.h"
#include "dsp/scopevisng.h"
#include "util/export.h"
class Message;
class SDRANGEL_API SpectrumScopeNGComboVis : public BasebandSampleSink {
public:
SpectrumScopeNGComboVis(SpectrumVis* spectrumVis, ScopeVisNG* scopeVis);
virtual ~SpectrumScopeNGComboVis();
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;
ScopeVisNG* m_scopeVis;
};
#endif // INCLUDE_SPECTRUMSCOPENGCOMBOVIS_H