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

#include <freedvmodplugin.h>

+ Inheritance diagram for FreeDVModPlugin:
+ Collaboration diagram for FreeDVModPlugin:

Public Member Functions

 FreeDVModPlugin (QObject *parent=0)
 
const PluginDescriptorgetPluginDescriptor () const
 
void initPlugin (PluginAPI *pluginAPI)
 
virtual PluginInstanceGUIcreateTxChannelGUI (DeviceUISet *deviceUISet, BasebandSampleSource *txChannel)
 
virtual BasebandSampleSourcecreateTxChannelBS (DeviceAPI *deviceAPI)
 
virtual ChannelAPIcreateTxChannelCS (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 PluginInstanceGUIcreateRxChannelGUI (DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
 
virtual BasebandSampleSinkcreateRxChannelBS (DeviceAPI *deviceAPI)
 
virtual ChannelAPIcreateRxChannelCS (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 freedvmodplugin.h.

Constructor & Destructor Documentation

◆ FreeDVModPlugin()

FreeDVModPlugin::FreeDVModPlugin ( QObject *  parent = 0)
explicit

Definition at line 36 of file freedvmodplugin.cpp.

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

Member Function Documentation

◆ createTxChannelBS()

BasebandSampleSource * FreeDVModPlugin::createTxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 69 of file freedvmodplugin.cpp.

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

◆ createTxChannelCS()

ChannelAPI * FreeDVModPlugin::createTxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 74 of file freedvmodplugin.cpp.

75 {
76  return new FreeDVMod(deviceAPI);
77 }

◆ createTxChannelGUI()

PluginInstanceGUI * FreeDVModPlugin::createTxChannelGUI ( DeviceUISet deviceUISet,
BasebandSampleSource txChannel 
)
virtual

Reimplemented from PluginInterface.

Definition at line 63 of file freedvmodplugin.cpp.

References FreeDVModGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

64 {
65  return FreeDVModGUI::create(m_pluginAPI, deviceUISet, txChannel);
66 }
static FreeDVModGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSource *channelTx)
PluginAPI * m_pluginAPI
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & FreeDVModPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 42 of file freedvmodplugin.cpp.

References m_pluginDescriptor.

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

◆ initPlugin()

void FreeDVModPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 47 of file freedvmodplugin.cpp.

References createTxChannelGUI(), FreeDVMod::m_channelId, FreeDVMod::m_channelIdURI, m_pluginAPI, and PluginAPI::registerTxChannel().

48 {
49  m_pluginAPI = pluginAPI;
50 
51  // register FreeDV modulator
53 }
void registerTxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:19
static const QString m_channelId
Definition: freedvmod.h:260
PluginAPI * m_pluginAPI
static const QString m_channelIdURI
Definition: freedvmod.h:259
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* FreeDVModPlugin::m_pluginAPI
private

Definition at line 45 of file freedvmodplugin.h.

Referenced by createTxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor FreeDVModPlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("FreeDV Modulator"),
QString("4.11.5"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 43 of file freedvmodplugin.h.

Referenced by getPluginDescriptor().


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