18 #ifndef INCLUDE_PLUGINMANAGER_H 19 #define INCLUDE_PLUGINMANAGER_H 49 pluginInterface(_plugin)
59 void loadPlugins(
const QString& pluginsSubDir);
60 void loadPluginsPart(
const QString& pluginsSubDir);
61 void loadPluginsFinal();
65 void registerRxChannel(
const QString& channelIdURI,
const QString& channelId,
PluginInterface* plugin);
66 void registerSampleSource(
const QString& sourceName,
PluginInterface* plugin);
67 void registerTxChannel(
const QString& channelIdURI,
const QString& channelId,
PluginInterface* plugin);
68 void registerSampleSink(
const QString& sinkName,
PluginInterface* plugin);
69 void registerSampleMIMO(
const QString& mimoName,
PluginInterface* plugin);
77 void createRxChannelInstance(
int channelPluginIndex,
DeviceUISet *deviceUISet,
DeviceAPI *deviceAPI);
78 void listRxChannels(QList<QString>& list);
80 void createTxChannelInstance(
int channelPluginIndex,
DeviceUISet *deviceUISet,
DeviceAPI *deviceAPI);
81 void listTxChannels(QList<QString>& list);
97 const QString& displayName,
98 const QString& hadrwareId,
99 const QString& deviceId,
100 const QString& deviceSerial,
101 int deviceSequence) :
103 m_displayName(displayName),
104 m_hadrwareId(hadrwareId),
105 m_deviceId(deviceId),
106 m_deviceSerial(deviceSerial),
107 m_deviceSequence(deviceSequence)
144 void loadPluginsDir(
const QDir& dir);
152 #endif // INCLUDE_PLUGINMANAGER_H
static const QString m_remoteInputHardwareID
Remote input hardware ID.
QList< ChannelRegistration > ChannelRegistrations
const QString displayedName
static const QString m_fileSinkHardwareID
FileSink sink hardware ID.
PluginAPI::ChannelRegistrations * getRxChannelRegistrations()
static const QString & getFileSinkDeviceId()
static const QString & getFileInputDeviceId()
static const QString m_testMIMODeviceTypeID
Test MIMO plugin ID.
static const QString m_localOutputDeviceTypeID
Local output plugin ID.
PluginAPI::ChannelRegistrations m_rxChannelRegistrations
Channel plugins register here.
virtual const PluginDescriptor & getPluginDescriptor() const =0
PluginInterface * pluginInterface
static const QString m_remoteOutputDeviceTypeID
Remote output plugin ID.
static const QString m_localOutputHardwareID
Local output hardware ID.
static const QString m_fileSinkDeviceTypeID
FileSink sink plugin ID.
PluginAPI::ChannelRegistrations * getTxChannelRegistrations()
QList< SamplingDeviceRegistration > SamplingDeviceRegistrations
static const QString & getTestMIMODeviceId()
PluginAPI::SamplingDeviceRegistrations m_sampleMIMORegistrations
MIMO sink plugins (one per device kind) register here.
static const QString m_localInputHardwareID
Local input hardware ID.
static const QString m_testMIMOHardwareID
Test MIMO hardware ID.
static const QString m_fileInputHardwareID
File input hardware ID.
PluginAPI::SamplingDeviceRegistrations m_sampleSinkRegistrations
Output sink plugins (one per device kind) register here.
PluginAPI * getPluginAPI()
static const QString m_remoteInputDeviceTypeID
Remote input plugin ID.
static const QString m_remoteOutputHardwareID
Remote output hardware ID.
static const QString m_localInputDeviceTypeID
Local input plugin ID.
PluginAPI::SamplingDeviceRegistrations & getSinkDeviceRegistrations()
static const QString m_fileInputDeviceTypeID
File input plugin ID.
PluginAPI::ChannelRegistrations m_txChannelRegistrations
Channel plugins register here.
PluginInterface * m_plugin
< This is the device registration
Plugin(const QString &_filename, PluginInterface *_plugin)
QList< SamplingDevice > SamplingDevices
uint32_t m_deviceSequence
PluginAPI::SamplingDeviceRegistrations & getMIMODeviceRegistrations()
SamplingDevice(PluginInterface *plugin, const QString &displayName, const QString &hadrwareId, const QString &deviceId, const QString &deviceSerial, int deviceSequence)
PluginAPI::SamplingDeviceRegistrations & getSourceDeviceRegistrations()
const Plugins & getPlugins() const
PluginAPI::SamplingDeviceRegistrations m_sampleSourceRegistrations
Input source plugins (one per device kind) register here.