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.
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
PluginAPI Class Reference

#include <pluginapi.h>

Inherits QObject.

+ Collaboration diagram for PluginAPI:

Classes

struct  ChannelRegistration
 
struct  SamplingDeviceRegistration
 < This is the device registration More...
 

Public Types

typedef QList< SamplingDeviceRegistrationSamplingDeviceRegistrations
 
typedef QList< ChannelRegistrationChannelRegistrations
 

Public Member Functions

void registerRxChannel (const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
 
ChannelRegistrationsgetRxChannelRegistrations ()
 
void registerTxChannel (const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
 
ChannelRegistrationsgetTxChannelRegistrations ()
 
void registerSampleSource (const QString &sourceName, PluginInterface *plugin)
 
void registerSampleSink (const QString &sinkName, PluginInterface *plugin)
 
void registerSampleMIMO (const QString &sinkName, PluginInterface *plugin)
 

Protected Member Functions

 PluginAPI (PluginManager *pluginManager)
 
 ~PluginAPI ()
 

Protected Attributes

PluginManagerm_pluginManager
 

Friends

class PluginManager
 

Detailed Description

Definition at line 16 of file pluginapi.h.

Member Typedef Documentation

◆ ChannelRegistrations

Definition at line 44 of file pluginapi.h.

◆ SamplingDeviceRegistrations

Definition at line 30 of file pluginapi.h.

Constructor & Destructor Documentation

◆ PluginAPI()

PluginAPI::PluginAPI ( PluginManager pluginManager)
protected

Definition at line 39 of file pluginapi.cpp.

39  :
40  m_pluginManager(pluginManager)
41 {
42 }
PluginManager * m_pluginManager
Definition: pluginapi.h:64

◆ ~PluginAPI()

PluginAPI::~PluginAPI ( )
protected

Definition at line 44 of file pluginapi.cpp.

45 {
46 }

Member Function Documentation

◆ getRxChannelRegistrations()

PluginAPI::ChannelRegistrations * PluginAPI::getRxChannelRegistrations ( )

Definition at line 14 of file pluginapi.cpp.

References PluginManager::getRxChannelRegistrations(), and m_pluginManager.

Referenced by DeviceSet::addRxChannel(), DeviceSet::loadRxChannelSettings(), and DeviceUISet::loadRxChannelSettings().

15 {
17 }
PluginAPI::ChannelRegistrations * getRxChannelRegistrations()
Definition: pluginmanager.h:74
PluginManager * m_pluginManager
Definition: pluginapi.h:64
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTxChannelRegistrations()

PluginAPI::ChannelRegistrations * PluginAPI::getTxChannelRegistrations ( )

Definition at line 34 of file pluginapi.cpp.

References PluginManager::getTxChannelRegistrations(), and m_pluginManager.

Referenced by DeviceSet::addTxChannel(), DeviceSet::loadTxChannelSettings(), and DeviceUISet::loadTxChannelSettings().

35 {
37 }
PluginAPI::ChannelRegistrations * getTxChannelRegistrations()
Definition: pluginmanager.h:75
PluginManager * m_pluginManager
Definition: pluginapi.h:64
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ registerRxChannel()

void PluginAPI::registerRxChannel ( const QString &  channelIdURI,
const QString &  channelId,
PluginInterface plugin 
)

◆ registerSampleMIMO()

void PluginAPI::registerSampleMIMO ( const QString &  sinkName,
PluginInterface plugin 
)

Definition at line 29 of file pluginapi.cpp.

References m_pluginManager, and PluginManager::registerSampleMIMO().

Referenced by TestMIPlugin::initPlugin().

30 {
31  m_pluginManager->registerSampleMIMO(mimoName, plugin);
32 }
void registerSampleMIMO(const QString &mimoName, PluginInterface *plugin)
PluginManager * m_pluginManager
Definition: pluginapi.h:64
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ registerSampleSink()

void PluginAPI::registerSampleSink ( const QString &  sinkName,
PluginInterface plugin 
)

◆ registerSampleSource()

void PluginAPI::registerSampleSource ( const QString &  sourceName,
PluginInterface plugin 
)

◆ registerTxChannel()

void PluginAPI::registerTxChannel ( const QString &  channelIdURI,
const QString &  channelId,
PluginInterface plugin 
)

Definition at line 19 of file pluginapi.cpp.

References m_pluginManager, and PluginManager::registerTxChannel().

Referenced by WFMModPlugin::initPlugin(), FileSourcePlugin::initPlugin(), ATVModPlugin::initPlugin(), RemoteSourcePlugin::initPlugin(), SSBModPlugin::initPlugin(), NFMModPlugin::initPlugin(), FreeDVModPlugin::initPlugin(), AMModPlugin::initPlugin(), UDPSourcePlugin::initPlugin(), and LocalSourcePlugin::initPlugin().

20 {
21  m_pluginManager->registerTxChannel(channelIdURI, channelId, plugin);
22 }
void registerTxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
PluginManager * m_pluginManager
Definition: pluginapi.h:64
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ PluginManager

friend class PluginManager
friend

Definition at line 69 of file pluginapi.h.

Member Data Documentation

◆ m_pluginManager

PluginManager* PluginAPI::m_pluginManager
protected

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