2015-06-21 10:46:47 +00:00
|
|
|
#ifndef INCLUDE_CHANALYZERPLUGIN_H
|
|
|
|
#define INCLUDE_CHANALYZERPLUGIN_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "plugin/plugininterface.h"
|
|
|
|
|
2017-10-30 23:07:55 +00:00
|
|
|
class DeviceUISet;
|
2017-11-08 13:23:49 +00:00
|
|
|
class BasebandSampleSink;
|
2016-05-16 01:21:21 +00:00
|
|
|
|
2015-06-21 10:46:47 +00:00
|
|
|
class ChannelAnalyzerPlugin : public QObject, PluginInterface {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_INTERFACES(PluginInterface)
|
|
|
|
Q_PLUGIN_METADATA(IID "org.f4exb.sdrangelove.channel.chanalyzer")
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ChannelAnalyzerPlugin(QObject* parent = NULL);
|
|
|
|
|
|
|
|
const PluginDescriptor& getPluginDescriptor() const;
|
|
|
|
void initPlugin(PluginAPI* pluginAPI);
|
|
|
|
|
2017-11-09 00:03:05 +00:00
|
|
|
PluginInstanceGUI* createRxChannelGUI(const QString& channelName, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel);
|
2017-11-08 13:23:49 +00:00
|
|
|
BasebandSampleSink* createRxChannel(const QString& channelName, DeviceSourceAPI *deviceAPI);
|
2015-06-21 10:46:47 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
static const PluginDescriptor m_pluginDescriptor;
|
|
|
|
|
|
|
|
PluginAPI* m_pluginAPI;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_CHANALYZERPLUGIN_H
|