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.
loraplugin.cpp
Go to the documentation of this file.
1 #include <QtPlugin>
2 #include "plugin/pluginapi.h"
3 
4 #include "loraplugin.h"
5 #include "lorademodgui.h"
6 #include "lorademod.h"
7 
9  QString("LoRa Demodulator"),
10  QString("3.14.5"),
11  QString("(c) 2015 John Greb"),
12  QString("http://www.maintech.de"),
13  true,
14  QString("github.com/hexameron/rtl-sdrangelove")
15 };
16 
17 LoRaPlugin::LoRaPlugin(QObject* parent) :
18  QObject(parent),
19  m_pluginAPI(0)
20 {
21 }
22 
24 {
25  return m_pluginDescriptor;
26 }
27 
29 {
30  m_pluginAPI = pluginAPI;
31 
32  // register demodulator
34 }
35 
37 {
38  return LoRaDemodGUI::create(m_pluginAPI, deviceUISet, rxChannel);
39 }
40 
42 {
43  return new LoRaDemod(deviceAPI);
44 }
45 
47 {
48  return new LoRaDemod(deviceAPI);
49 }
50 
virtual BasebandSampleSink * createRxChannelBS(DeviceAPI *deviceAPI)
Definition: loraplugin.cpp:41
static LoRaDemodGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceAPI, BasebandSampleSink *rxChannel)
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
PluginAPI * m_pluginAPI
Definition: loraplugin.h:28
LoRaPlugin(QObject *parent=NULL)
Definition: loraplugin.cpp:17
static const QString m_channelId
Definition: lorademod.h:120
const PluginDescriptor & getPluginDescriptor() const
Definition: loraplugin.cpp:23
void initPlugin(PluginAPI *pluginAPI)
Definition: loraplugin.cpp:28
static const QString m_channelIdURI
Definition: lorademod.h:119
virtual ChannelAPI * createRxChannelCS(DeviceAPI *deviceAPI)
Definition: loraplugin.cpp:46
virtual PluginInstanceGUI * createRxChannelGUI(DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
Definition: loraplugin.cpp:36
static const PluginDescriptor m_pluginDescriptor
Definition: loraplugin.h:26