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

#include <datvdemodplugin.h>

+ Inheritance diagram for DATVDemodPlugin:
+ Collaboration diagram for DATVDemodPlugin:

Public Member Functions

 DATVDemodPlugin (QObject *ptrParent=nullptr)
 
const PluginDescriptorgetPluginDescriptor () const
 
void initPlugin (PluginAPI *ptrPluginAPI)
 
virtual PluginInstanceGUIcreateRxChannelGUI (DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
 
virtual BasebandSampleSinkcreateRxChannelBS (DeviceAPI *deviceAPI)
 
virtual ChannelAPIcreateRxChannelCS (DeviceAPI *deviceAPI)
 

Private Attributes

PluginAPIm_ptrPluginAPI
 

Static Private Attributes

static const PluginDescriptor m_ptrPluginDescriptor
 

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 29 of file datvdemodplugin.h.

Constructor & Destructor Documentation

◆ DATVDemodPlugin()

DATVDemodPlugin::DATVDemodPlugin ( QObject *  ptrParent = nullptr)
explicit

Definition at line 38 of file datvdemodplugin.cpp.

38  :
39  QObject(ptrParent),
40  m_ptrPluginAPI(nullptr)
41 {
42 
43 }
PluginAPI * m_ptrPluginAPI

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * DATVDemodPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 64 of file datvdemodplugin.cpp.

65 {
66  return new DATVDemod(deviceAPI);
67 }

◆ createRxChannelCS()

ChannelAPI * DATVDemodPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 69 of file datvdemodplugin.cpp.

70 {
71  return new DATVDemod(deviceAPI);
72 }

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 59 of file datvdemodplugin.cpp.

References DATVDemodGUI::create(), and m_ptrPluginAPI.

60 {
61  return DATVDemodGUI::create(m_ptrPluginAPI, deviceUISet, rxChannel);
62 }
PluginAPI * m_ptrPluginAPI
static DATVDemodGUI * create(PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
+ Here is the call graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & DATVDemodPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 45 of file datvdemodplugin.cpp.

References m_ptrPluginDescriptor.

46 {
47  return m_ptrPluginDescriptor;
48 
49 }
static const PluginDescriptor m_ptrPluginDescriptor

◆ initPlugin()

void DATVDemodPlugin::initPlugin ( PluginAPI ptrPluginAPI)
virtual

Implements PluginInterface.

Definition at line 51 of file datvdemodplugin.cpp.

References DATVDemod::m_channelId, DATVDemod::m_channelIdURI, m_ptrPluginAPI, and PluginAPI::registerRxChannel().

52 {
53  m_ptrPluginAPI = ptrPluginAPI;
54 
55  // register DATV demodulator
57 }
PluginAPI * m_ptrPluginAPI
static const QString m_channelIdURI
Definition: datvdemod.h:197
static const QString m_channelId
Definition: datvdemod.h:198
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
+ Here is the call graph for this function:

Member Data Documentation

◆ m_ptrPluginAPI

PluginAPI* DATVDemodPlugin::m_ptrPluginAPI
private

Definition at line 49 of file datvdemodplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_ptrPluginDescriptor

const PluginDescriptor DATVDemodPlugin::m_ptrPluginDescriptor
staticprivate
Initial value:
=
{
QString("DATV Demodulator"),
QString("4.11.4"),
QString("(c) F4HKW for SDRAngel using LeanSDR framework (c) F4DAV"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 47 of file datvdemodplugin.h.

Referenced by getPluginDescriptor().


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