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.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
DSDDemodPlugin Class Reference

#include <dsddemodplugin.h>

+ Inheritance diagram for DSDDemodPlugin:
+ Collaboration diagram for DSDDemodPlugin:

Public Member Functions

 DSDDemodPlugin (QObject *parent=NULL)
 
const PluginDescriptorgetPluginDescriptor () const
 
void initPlugin (PluginAPI *pluginAPI)
 
virtual PluginInstanceGUIcreateRxChannelGUI (DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
 
virtual BasebandSampleSinkcreateRxChannelBS (DeviceAPI *deviceAPI)
 
virtual ChannelAPIcreateRxChannelCS (DeviceAPI *deviceAPI)
 

Private Attributes

PluginAPIm_pluginAPI
 

Static Private Attributes

static const PluginDescriptor m_pluginDescriptor
 

Additional Inherited Members

- Private Types inherited from PluginInterface
typedef QList< SamplingDeviceSamplingDevices
 
- Private Member Functions inherited from PluginInterface
virtual ~PluginInterface ()
 
virtual PluginInstanceGUIcreateTxChannelGUI (DeviceUISet *deviceUISet, BasebandSampleSource *txChannel)
 
virtual BasebandSampleSourcecreateTxChannelBS (DeviceAPI *deviceAPI)
 
virtual ChannelAPIcreateTxChannelCS (DeviceAPI *deviceAPI)
 
virtual SamplingDevices enumSampleSources ()
 
virtual PluginInstanceGUIcreateSampleSourcePluginInstanceGUI (const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
 
virtual DeviceSampleSourcecreateSampleSourcePluginInstance (const QString &sourceId, DeviceAPI *deviceAPI)
 
virtual void deleteSampleSourcePluginInstanceGUI (PluginInstanceGUI *ui)
 
virtual void deleteSampleSourcePluginInstanceInput (DeviceSampleSource *source)
 
virtual SamplingDevices enumSampleSinks ()
 
virtual PluginInstanceGUIcreateSampleSinkPluginInstanceGUI (const QString &sinkId, QWidget **widget, DeviceUISet *deviceUISet)
 
virtual DeviceSampleSinkcreateSampleSinkPluginInstance (const QString &sinkId, DeviceAPI *deviceAPI)
 
virtual void deleteSampleSinkPluginInstanceGUI (PluginInstanceGUI *ui)
 
virtual void deleteSampleSinkPluginInstanceOutput (DeviceSampleSink *sink)
 
virtual SamplingDevices enumSampleMIMO ()
 
virtual PluginInstanceGUIcreateSampleMIMOPluginInstanceGUI (const QString &mimoId, QWidget **widget, DeviceUISet *deviceUISet)
 
virtual DeviceSampleMIMOcreateSampleMIMOPluginInstance (const QString &mimoId, DeviceAPI *deviceAPI)
 
virtual void deleteSampleMIMOPluginInstanceGUI (PluginInstanceGUI *ui)
 
virtual void deleteSampleMIMOPluginInstanceMIMO (DeviceSampleMIMO *mimo)
 

Detailed Description

Definition at line 28 of file dsddemodplugin.h.

Constructor & Destructor Documentation

◆ DSDDemodPlugin()

DSDDemodPlugin::DSDDemodPlugin ( QObject *  parent = NULL)
explicit

Definition at line 37 of file dsddemodplugin.cpp.

37  :
38  QObject(parent),
39  m_pluginAPI(0)
40 {
41 }
PluginAPI * m_pluginAPI

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * DSDDemodPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 70 of file dsddemodplugin.cpp.

71 {
72  return new DSDDemod(deviceAPI);
73 }

◆ createRxChannelCS()

ChannelAPI * DSDDemodPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 75 of file dsddemodplugin.cpp.

76 {
77  return new DSDDemod(deviceAPI);
78 }

◆ createRxChannelGUI()

PluginInstanceGUI * DSDDemodPlugin::createRxChannelGUI ( DeviceUISet deviceUISet,
BasebandSampleSink rxChannel 
)
virtual

Reimplemented from PluginInterface.

Definition at line 64 of file dsddemodplugin.cpp.

References DSDDemodGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

65 {
66  return DSDDemodGUI::create(m_pluginAPI, deviceUISet, rxChannel);
67 }
PluginAPI * m_pluginAPI
static DSDDemodGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
Definition: dsddemodgui.cpp:45
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & DSDDemodPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 43 of file dsddemodplugin.cpp.

References m_pluginDescriptor.

44 {
45  return m_pluginDescriptor;
46 }
static const PluginDescriptor m_pluginDescriptor

◆ initPlugin()

void DSDDemodPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 48 of file dsddemodplugin.cpp.

References createRxChannelGUI(), DSDDemod::m_channelId, DSDDemod::m_channelIdURI, m_pluginAPI, and PluginAPI::registerRxChannel().

49 {
50  m_pluginAPI = pluginAPI;
51 
52  // register DSD demodulator
54 }
static const QString m_channelIdURI
Definition: dsddemod.h:167
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
PluginAPI * m_pluginAPI
static const QString m_channelId
Definition: dsddemod.h:168
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* DSDDemodPlugin::m_pluginAPI
private

Definition at line 46 of file dsddemodplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor DSDDemodPlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("DSD Demodulator"),
QString("4.5.6"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 44 of file dsddemodplugin.h.

Referenced by getPluginDescriptor().


The documentation for this class was generated from the following files: