SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
rtlsdrplugin.h
Go to the documentation of this file.
1 #ifndef INCLUDE_RTLSDRPLUGIN_H
2 #define INCLUDE_RTLSDRPLUGIN_H
3 
4 #include <QObject>
6 
7 class PluginAPI;
8 
9 #define RTLSDR_DEVICE_TYPE_ID "sdrangel.samplesource.rtlsdr"
10 
11 class RTLSDRPlugin : public QObject, public PluginInterface {
12  Q_OBJECT
13  Q_INTERFACES(PluginInterface)
14  Q_PLUGIN_METADATA(IID RTLSDR_DEVICE_TYPE_ID)
15 
16 public:
17  explicit RTLSDRPlugin(QObject* parent = NULL);
18 
20  void initPlugin(PluginAPI* pluginAPI);
21 
24  const QString& sourceId,
25  QWidget **widget,
26  DeviceUISet *deviceUISet);
27  virtual DeviceSampleSource* createSampleSourcePluginInstance(const QString& sourceId, DeviceAPI *deviceAPI);
28 
29  static const QString m_hardwareID;
30  static const QString m_deviceTypeID;
31 
32 private:
34 };
35 
36 #endif // INCLUDE_RTLSDRPLUGIN_H
#define RTLSDR_DEVICE_TYPE_ID
Definition: rtlsdrplugin.h:9
RTLSDRPlugin(QObject *parent=NULL)
virtual DeviceSampleSource * createSampleSourcePluginInstance(const QString &sourceId, DeviceAPI *deviceAPI)
static const QString m_hardwareID
Definition: rtlsdrplugin.h:29
static const PluginDescriptor m_pluginDescriptor
Definition: rtlsdrplugin.h:33
virtual SamplingDevices enumSampleSources()
static const QString m_deviceTypeID
Definition: rtlsdrplugin.h:30
void initPlugin(PluginAPI *pluginAPI)
const PluginDescriptor & getPluginDescriptor() const
virtual PluginInstanceGUI * createSampleSourcePluginInstanceGUI(const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
QList< SamplingDevice > SamplingDevices