19 #include "perseus-sdr.h" 33 QString(
"Perseus Input"),
35 QString(
"(c) Edouard Griffiths, F4EXB"),
36 QString(
"https://github.com/f4exb/sdrangel"),
38 QString(
"https://github.com/f4exb/sdrangel")
63 std::vector<std::string> serials;
66 std::vector<std::string>::const_iterator it = serials.begin();
70 for (i = 0; it != serials.end(); ++it, ++
i)
72 QString serial_str = QString::fromLocal8Bit(it->c_str());
73 QString displayedName(QString(
"Perseus[%1] %2").
arg(i).
arg(serial_str));
85 qDebug(
"PerseusPlugin::enumSampleSources: enumerated Perseus device #%d", i);
93 const QString& sourceId,
104 const QString& sourceId,
static DevicePerseus & instance()
static const PluginDescriptor m_pluginDescriptor
static const int m_maxDevices
void registerSampleSource(const QString &sourceName, PluginInterface *plugin)
void getSerials(std::vector< std::string > &serials) const
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual PluginInstanceGUI * createSampleSourcePluginInstanceGUI(const QString &sourceId, QWidget **widget, DeviceUISet *deviceUISet)
#define PERSEUS_DEVICE_TYPE_ID
PerseusPlugin(QObject *parent=0)
const PluginDescriptor & getPluginDescriptor() const
virtual DeviceSampleSource * createSampleSourcePluginInstance(const QString &sourceId, DeviceAPI *deviceAPI)
Exposes a single input stream that can be one of the streams of a physical device.
static const QString m_deviceTypeID
static const QString m_hardwareID
void initPlugin(PluginAPI *pluginAPI)
virtual SamplingDevices enumSampleSources()
QList< SamplingDevice > SamplingDevices