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

#include <atvdemodplugin.h>

+ Inheritance diagram for ATVDemodPlugin:
+ Collaboration diagram for ATVDemodPlugin:

Public Member Functions

 ATVDemodPlugin (QObject *ptrParent=NULL)
 
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 28 of file atvdemodplugin.h.

Constructor & Destructor Documentation

◆ ATVDemodPlugin()

ATVDemodPlugin::ATVDemodPlugin ( QObject *  ptrParent = NULL)
explicit

Definition at line 38 of file atvdemodplugin.cpp.

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

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * ATVDemodPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 63 of file atvdemodplugin.cpp.

64 {
65  return new ATVDemod(deviceAPI);
66 }

◆ createRxChannelCS()

ChannelAPI * ATVDemodPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 68 of file atvdemodplugin.cpp.

69 {
70  return new ATVDemod(deviceAPI);
71 }

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 58 of file atvdemodplugin.cpp.

References ATVDemodGUI::create(), and m_ptrPluginAPI.

59 {
60  return ATVDemodGUI::create(m_ptrPluginAPI, deviceUISet, rxChannel);
61 }
PluginAPI * m_ptrPluginAPI
static ATVDemodGUI * create(PluginAPI *objPluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
Definition: atvdemodgui.cpp:38
+ Here is the call graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & ATVDemodPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 45 of file atvdemodplugin.cpp.

References m_ptrPluginDescriptor.

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

◆ initPlugin()

void ATVDemodPlugin::initPlugin ( PluginAPI ptrPluginAPI)
virtual

Implements PluginInterface.

Definition at line 50 of file atvdemodplugin.cpp.

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

51 {
52  m_ptrPluginAPI = ptrPluginAPI;
53 
54  // register ATV demodulator
56 }
PluginAPI * m_ptrPluginAPI
static const QString m_channelIdURI
Definition: atvdemod.h:252
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
static const QString m_channelId
Definition: atvdemod.h:253
+ Here is the call graph for this function:

Member Data Documentation

◆ m_ptrPluginAPI

PluginAPI* ATVDemodPlugin::m_ptrPluginAPI
private

Definition at line 47 of file atvdemodplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_ptrPluginDescriptor

const PluginDescriptor ATVDemodPlugin::m_ptrPluginDescriptor
staticprivate
Initial value:
=
{
QString("ATV Demodulator"),
QString("4.3.0"),
QString("(c) F4HKW for F4EXB / SDRAngel"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 45 of file atvdemodplugin.h.

Referenced by getPluginDescriptor().


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