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

#include <remotesinkplugin.h>

+ Inheritance diagram for RemoteSinkPlugin:
+ Collaboration diagram for RemoteSinkPlugin:

Public Member Functions

 RemoteSinkPlugin (QObject *parent=0)
 
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 28 of file remotesinkplugin.h.

Constructor & Destructor Documentation

◆ RemoteSinkPlugin()

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

Definition at line 37 of file remotesinkplugin.cpp.

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

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * RemoteSinkPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 70 of file remotesinkplugin.cpp.

71 {
72  return new RemoteSink(deviceAPI);
73 }

◆ createRxChannelCS()

ChannelAPI * RemoteSinkPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 75 of file remotesinkplugin.cpp.

76 {
77  return new RemoteSink(deviceAPI);
78 }

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 64 of file remotesinkplugin.cpp.

References RemoteSinkGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

65 {
66  return RemoteSinkGUI::create(m_pluginAPI, deviceUISet, rxChannel);
67 }
static RemoteSinkGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
PluginAPI * m_pluginAPI
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & RemoteSinkPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 43 of file remotesinkplugin.cpp.

References m_pluginDescriptor.

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

◆ initPlugin()

void RemoteSinkPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 48 of file remotesinkplugin.cpp.

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

49 {
50  m_pluginAPI = pluginAPI;
51 
52  // register channel Source
54 }
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
PluginAPI * m_pluginAPI
static const QString m_channelIdURI
Definition: remotesink.h:160
static const QString m_channelId
Definition: remotesink.h:161
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* RemoteSinkPlugin::m_pluginAPI
private

Definition at line 46 of file remotesinkplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor RemoteSinkPlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("Remote channel sink"),
QString("4.5.6"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 44 of file remotesinkplugin.h.

Referenced by getPluginDescriptor().


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