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

#include <freqtrackerplugin.h>

+ Inheritance diagram for FreqTrackerPlugin:
+ Collaboration diagram for FreqTrackerPlugin:

Public Member Functions

 FreqTrackerPlugin (QObject *parent=nullptr)
 
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 27 of file freqtrackerplugin.h.

Constructor & Destructor Documentation

◆ FreqTrackerPlugin()

FreqTrackerPlugin::FreqTrackerPlugin ( QObject *  parent = nullptr)
explicit

Definition at line 36 of file freqtrackerplugin.cpp.

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

Member Function Documentation

◆ createRxChannelBS()

BasebandSampleSink * FreqTrackerPlugin::createRxChannelBS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 69 of file freqtrackerplugin.cpp.

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

◆ createRxChannelCS()

ChannelAPI * FreqTrackerPlugin::createRxChannelCS ( DeviceAPI deviceAPI)
virtual

Reimplemented from PluginInterface.

Definition at line 74 of file freqtrackerplugin.cpp.

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

◆ createRxChannelGUI()

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

Reimplemented from PluginInterface.

Definition at line 63 of file freqtrackerplugin.cpp.

References FreqTrackerGUI::create(), and m_pluginAPI.

Referenced by initPlugin().

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

◆ getPluginDescriptor()

const PluginDescriptor & FreqTrackerPlugin::getPluginDescriptor ( ) const
virtual

Implements PluginInterface.

Definition at line 42 of file freqtrackerplugin.cpp.

References m_pluginDescriptor.

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

◆ initPlugin()

void FreqTrackerPlugin::initPlugin ( PluginAPI pluginAPI)
virtual

Implements PluginInterface.

Definition at line 47 of file freqtrackerplugin.cpp.

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

48 {
49  m_pluginAPI = pluginAPI;
50 
51  // register AM demodulator
53 }
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
PluginAPI * m_pluginAPI
static const QString m_channelIdURI
Definition: freqtracker.h:185
static const QString m_channelId
Definition: freqtracker.h:186
+ Here is the call graph for this function:

Member Data Documentation

◆ m_pluginAPI

PluginAPI* FreqTrackerPlugin::m_pluginAPI
private

Definition at line 45 of file freqtrackerplugin.h.

Referenced by createRxChannelGUI(), and initPlugin().

◆ m_pluginDescriptor

const PluginDescriptor FreqTrackerPlugin::m_pluginDescriptor
staticprivate
Initial value:
= {
QString("Frequency Tracker"),
QString("4.7.0"),
QString("(c) Edouard Griffiths, F4EXB"),
QString("https://github.com/f4exb/sdrangel"),
true,
QString("https://github.com/f4exb/sdrangel")
}

Definition at line 43 of file freqtrackerplugin.h.

Referenced by getPluginDescriptor().


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