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
AMDemodPlugin Class Reference

#include <amdemodplugin.h>

+ Inheritance diagram for AMDemodPlugin:
+ Collaboration diagram for AMDemodPlugin:

Public Member Functions

 AMDemodPlugin (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 27 of file amdemodplugin.h.

Constructor & Destructor Documentation

◆ AMDemodPlugin()

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

Definition at line 19 of file amdemodplugin.cpp.

19  :
20  QObject(parent),
21  m_pluginAPI(0)
22 {
23 }
PluginAPI * m_pluginAPI
Definition: amdemodplugin.h:45

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * AMDemodPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 52 of file amdemodplugin.cpp.

53 {
54  return new AMDemod(deviceAPI);
55 }

◆ createRxChannelCS()

ChannelAPI * AMDemodPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 57 of file amdemodplugin.cpp.

58 {
59  return new AMDemod(deviceAPI);
60 }

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 46 of file amdemodplugin.cpp.

References AMDemodGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

47 {
48  return AMDemodGUI::create(m_pluginAPI, deviceUISet, rxChannel);
49 }
PluginAPI * m_pluginAPI
Definition: amdemodplugin.h:45
static AMDemodGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
Definition: amdemodgui.cpp:42
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & AMDemodPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 25 of file amdemodplugin.cpp.

References m_pluginDescriptor.

26 {
27  return m_pluginDescriptor;
28 }
static const PluginDescriptor m_pluginDescriptor
Definition: amdemodplugin.h:43

◆ initPlugin()

void AMDemodPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 30 of file amdemodplugin.cpp.

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

31 {
32  m_pluginAPI = pluginAPI;
33 
34  // register AM demodulator
36 }
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
static const QString m_channelId
Definition: amdemod.h:164
PluginAPI * m_pluginAPI
Definition: amdemodplugin.h:45
static const QString m_channelIdURI
Definition: amdemod.h:163
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* AMDemodPlugin::m_pluginAPI
private

Definition at line 45 of file amdemodplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

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

Definition at line 43 of file amdemodplugin.h.

Referenced by getPluginDescriptor().


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