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

#include <chanalyzerplugin.h>

+ Inheritance diagram for ChannelAnalyzerPlugin:
+ Collaboration diagram for ChannelAnalyzerPlugin:

Public Member Functions

 ChannelAnalyzerPlugin (QObject *parent=NULL)
 
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 chanalyzerplugin.h.

Constructor & Destructor Documentation

◆ ChannelAnalyzerPlugin()

ChannelAnalyzerPlugin::ChannelAnalyzerPlugin ( QObject *  parent = NULL)
explicit

Definition at line 34 of file chanalyzerplugin.cpp.

34  :
35  QObject(parent),
36  m_pluginAPI(0)
37 {
38 }

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * ChannelAnalyzerPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 58 of file chanalyzerplugin.cpp.

59 {
60  return new ChannelAnalyzer(deviceAPI);
61 }

◆ createRxChannelCS()

ChannelAPI * ChannelAnalyzerPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 63 of file chanalyzerplugin.cpp.

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

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 53 of file chanalyzerplugin.cpp.

References ChannelAnalyzerGUI::create(), and m_pluginAPI.

54 {
55  return ChannelAnalyzerGUI::create(m_pluginAPI, deviceUISet, rxChannel);
56 }
static ChannelAnalyzerGUI * create(PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel)
+ Here is the call graph for this function:

◆ getPluginDescriptor()

const PluginDescriptor & ChannelAnalyzerPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 40 of file chanalyzerplugin.cpp.

References m_pluginDescriptor.

41 {
42  return m_pluginDescriptor;
43 }
static const PluginDescriptor m_pluginDescriptor

◆ initPlugin()

void ChannelAnalyzerPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 45 of file chanalyzerplugin.cpp.

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

46 {
47  m_pluginAPI = pluginAPI;
48 
49  // register demodulator
51 }
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
static const QString m_channelId
Definition: chanalyzer.h:158
static const QString m_channelIdURI
Definition: chanalyzer.h:157
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* ChannelAnalyzerPlugin::m_pluginAPI
private

Definition at line 46 of file chanalyzerplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor ChannelAnalyzerPlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("Channel Analyzer"),
QString("4.5.1"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 44 of file chanalyzerplugin.h.

Referenced by getPluginDescriptor().


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