2014-05-18 15:52:39 +00:00
|
|
|
#include "plugin/pluginapi.h"
|
|
|
|
#include "plugin/pluginmanager.h"
|
|
|
|
|
2017-11-23 00:19:32 +00:00
|
|
|
void PluginAPI::registerRxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
2014-05-18 15:52:39 +00:00
|
|
|
{
|
2017-11-23 00:19:32 +00:00
|
|
|
m_pluginManager->registerRxChannel(channelIdURI, channelId, plugin);
|
2014-05-18 15:52:39 +00:00
|
|
|
}
|
|
|
|
|
2016-10-13 20:23:43 +00:00
|
|
|
PluginAPI::ChannelRegistrations *PluginAPI::getRxChannelRegistrations()
|
2016-05-16 16:53:01 +00:00
|
|
|
{
|
2016-10-13 20:23:43 +00:00
|
|
|
return m_pluginManager->getRxChannelRegistrations();
|
2016-05-16 16:53:01 +00:00
|
|
|
}
|
|
|
|
|
2017-11-23 00:19:32 +00:00
|
|
|
void PluginAPI::registerTxChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
2016-10-19 16:07:27 +00:00
|
|
|
{
|
2017-11-23 00:19:32 +00:00
|
|
|
m_pluginManager->registerTxChannel(channelIdURI, channelId, plugin);
|
2016-10-19 16:07:27 +00:00
|
|
|
}
|
|
|
|
|
2019-09-02 16:36:56 +00:00
|
|
|
PluginAPI::ChannelRegistrations *PluginAPI::getTxChannelRegistrations()
|
|
|
|
{
|
|
|
|
return m_pluginManager->getTxChannelRegistrations();
|
|
|
|
}
|
|
|
|
|
|
|
|
void PluginAPI::registerMIMOChannel(const QString& channelIdURI, const QString& channelId, PluginInterface* plugin)
|
|
|
|
{
|
|
|
|
m_pluginManager->registerMIMOChannel(channelIdURI, channelId, plugin);
|
|
|
|
}
|
|
|
|
|
|
|
|
PluginAPI::ChannelRegistrations *PluginAPI::getMIMOChannelRegistrations()
|
|
|
|
{
|
|
|
|
return m_pluginManager->getMIMOChannelRegistrations();
|
|
|
|
}
|
|
|
|
|
|
|
|
void PluginAPI::registerSampleSource(const QString& sourceName, PluginInterface* plugin)
|
|
|
|
{
|
|
|
|
m_pluginManager->registerSampleSource(sourceName, plugin);
|
|
|
|
}
|
|
|
|
|
2016-10-19 16:07:27 +00:00
|
|
|
void PluginAPI::registerSampleSink(const QString& sinkName, PluginInterface* plugin)
|
|
|
|
{
|
2016-10-19 20:48:24 +00:00
|
|
|
m_pluginManager->registerSampleSink(sinkName, plugin);
|
2016-10-19 16:07:27 +00:00
|
|
|
}
|
|
|
|
|
2019-05-18 04:30:37 +00:00
|
|
|
void PluginAPI::registerSampleMIMO(const QString& mimoName, PluginInterface* plugin)
|
|
|
|
{
|
|
|
|
m_pluginManager->registerSampleMIMO(mimoName, plugin);
|
|
|
|
}
|
|
|
|
|
2020-09-19 23:06:34 +00:00
|
|
|
void PluginAPI::registerFeature(const QString& featureIdURI, const QString& featureId, PluginInterface* plugin)
|
2020-09-08 14:47:20 +00:00
|
|
|
{
|
2020-09-19 23:06:34 +00:00
|
|
|
m_pluginManager->registerFeature(featureIdURI, featureId, plugin);
|
|
|
|
}
|
|
|
|
|
|
|
|
PluginAPI::FeatureRegistrations *PluginAPI::getFeatureRegistrations()
|
|
|
|
{
|
|
|
|
return m_pluginManager->getFeatureRegistrations();
|
2020-09-08 14:47:20 +00:00
|
|
|
}
|
|
|
|
|
2017-10-24 12:01:31 +00:00
|
|
|
PluginAPI::PluginAPI(PluginManager* pluginManager) :
|
|
|
|
m_pluginManager(pluginManager)
|
2014-05-18 15:52:39 +00:00
|
|
|
{
|
|
|
|
}
|
2016-05-13 09:42:03 +00:00
|
|
|
|
|
|
|
PluginAPI::~PluginAPI()
|
|
|
|
{
|
|
|
|
}
|