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

#include <remotesourceplugin.h>

+ Inheritance diagram for RemoteSourcePlugin:
+ Collaboration diagram for RemoteSourcePlugin:

Public Member Functions

 RemoteSourcePlugin (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 remotesourceplugin.h.

Constructor & Destructor Documentation

◆ RemoteSourcePlugin()

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

Definition at line 36 of file remotesourceplugin.cpp.

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

Member Function Documentation

◆ createTxChannelBS()

BasebandSampleSource * RemoteSourcePlugin::createTxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 69 of file remotesourceplugin.cpp.

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

◆ createTxChannelCS()

ChannelAPI * RemoteSourcePlugin::createTxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 74 of file remotesourceplugin.cpp.

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

◆ createTxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 63 of file remotesourceplugin.cpp.

References RemoteSourceGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

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

◆ getPluginDescriptor()

const PluginDescriptor & RemoteSourcePlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 42 of file remotesourceplugin.cpp.

References m_pluginDescriptor.

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

◆ initPlugin()

void RemoteSourcePlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 47 of file remotesourceplugin.cpp.

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

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

Member Data Documentation

◆ m_pluginAPI

PluginAPI* RemoteSourcePlugin::m_pluginAPI
private

Definition at line 45 of file remotesourceplugin.h.

Referenced by createTxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor RemoteSourcePlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("Remote channel source"),
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 remotesourceplugin.h.

Referenced by getPluginDescriptor().


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