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.
pluginapi.cpp
Go to the documentation of this file.
1 #include "plugin/pluginapi.h"
2 #include "plugin/pluginmanager.h"
3 
4 void PluginAPI::registerRxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
5 {
6  m_pluginManager->registerRxChannel(channelIdURI, channelId, plugin);
7 }
8 
9 void PluginAPI::registerSampleSource(const QString& sourceName, PluginInterface* plugin)
10 {
11  m_pluginManager->registerSampleSource(sourceName, plugin);
12 }
13 
15 {
17 }
18 
19 void PluginAPI::registerTxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
20 {
21  m_pluginManager->registerTxChannel(channelIdURI, channelId, plugin);
22 }
23 
24 void PluginAPI::registerSampleSink(const QString& sinkName, PluginInterface* plugin)
25 {
26  m_pluginManager->registerSampleSink(sinkName, plugin);
27 }
28 
29 void PluginAPI::registerSampleMIMO(const QString& mimoName, PluginInterface* plugin)
30 {
31  m_pluginManager->registerSampleMIMO(mimoName, plugin);
32 }
33 
35 {
37 }
38 
40  m_pluginManager(pluginManager)
41 {
42 }
43 
45 {
46 }
void registerTxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:19
ChannelRegistrations * getTxChannelRegistrations()
Definition: pluginapi.cpp:34
QList< ChannelRegistration > ChannelRegistrations
Definition: pluginapi.h:44
void registerSampleSink(const QString &sinkName, PluginInterface *plugin)
Definition: pluginapi.cpp:24
PluginAPI::ChannelRegistrations * getRxChannelRegistrations()
Definition: pluginmanager.h:74
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
Definition: pluginapi.cpp:9
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
Definition: pluginapi.cpp:4
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
PluginAPI::ChannelRegistrations * getTxChannelRegistrations()
Definition: pluginmanager.h:75
void registerSampleSink(const QString &sinkName, PluginInterface *plugin)
void registerRxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
ChannelRegistrations * getRxChannelRegistrations()
Definition: pluginapi.cpp:14
void registerSampleMIMO(const QString &sinkName, PluginInterface *plugin)
Definition: pluginapi.cpp:29
PluginAPI(PluginManager *pluginManager)
Definition: pluginapi.cpp:39
void registerTxChannel(const QString &channelIdURI, const QString &channelId, PluginInterface *plugin)
void registerSampleMIMO(const QString &mimoName, PluginInterface *plugin)
PluginManager * m_pluginManager
Definition: pluginapi.h:64