![]() |
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.
|
#include <deviceenumerator.h>
Classes | |
| struct | DeviceEnumeration |
Public Member Functions | |
| DeviceEnumerator () | |
| ~DeviceEnumerator () | |
| void | enumerateRxDevices (PluginManager *pluginManager) |
| void | enumerateTxDevices (PluginManager *pluginManager) |
| void | enumerateMIMODevices (PluginManager *pluginManager) |
| void | listRxDeviceNames (QList< QString > &list, std::vector< int > &indexes) const |
| void | listTxDeviceNames (QList< QString > &list, std::vector< int > &indexes) const |
| void | listMIMODeviceNames (QList< QString > &list, std::vector< int > &indexes) const |
| void | changeRxSelection (int tabIndex, int deviceIndex) |
| void | changeTxSelection (int tabIndex, int deviceIndex) |
| void | changeMIMOSelection (int tabIndex, int deviceIndex) |
| void | removeRxSelection (int tabIndex) |
| void | removeTxSelection (int tabIndex) |
| void | removeMIMOSelection (int tabIndex) |
| int | getNbRxSamplingDevices () const |
| int | getNbTxSamplingDevices () const |
| int | getNbMIMOSamplingDevices () const |
| const PluginInterface::SamplingDevice * | getRxSamplingDevice (int deviceIndex) const |
| const PluginInterface::SamplingDevice * | getTxSamplingDevice (int deviceIndex) const |
| const PluginInterface::SamplingDevice * | getMIMOSamplingDevice (int deviceIndex) const |
| PluginInterface * | getRxPluginInterface (int deviceIndex) |
| PluginInterface * | getTxPluginInterface (int deviceIndex) |
| PluginInterface * | getMIMOPluginInterface (int deviceIndex) |
| int | getFileInputDeviceIndex () const |
| Get Rx default device. More... | |
| int | getFileSinkDeviceIndex () const |
| Get Tx default device. More... | |
| int | getTestMIMODeviceIndex () const |
| Get MIMO default device. More... | |
| int | getRxSamplingDeviceIndex (const QString &deviceId, int sequence) |
| int | getTxSamplingDeviceIndex (const QString &deviceId, int sequence) |
| int | getMIMOSamplingDeviceIndex (const QString &deviceId, int sequence) |
Static Public Member Functions | |
| static DeviceEnumerator * | instance () |
Private Types | |
| typedef std::vector< DeviceEnumeration > | DevicesEnumeration |
Private Attributes | |
| DevicesEnumeration | m_rxEnumeration |
| DevicesEnumeration | m_txEnumeration |
| DevicesEnumeration | m_mimoEnumeration |
Definition at line 28 of file deviceenumerator.h.
|
private |
Definition at line 78 of file deviceenumerator.h.
| DeviceEnumerator::DeviceEnumerator | ( | ) |
Definition at line 29 of file deviceenumerator.cpp.
| DeviceEnumerator::~DeviceEnumerator | ( | ) |
Definition at line 32 of file deviceenumerator.cpp.
| void DeviceEnumerator::changeMIMOSelection | ( | int | tabIndex, |
| int | deviceIndex | ||
| ) |
Definition at line 172 of file deviceenumerator.cpp.
References m_mimoEnumeration.
Referenced by SamplingDeviceDialog::accept(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| void DeviceEnumerator::changeRxSelection | ( | int | tabIndex, |
| int | deviceIndex | ||
| ) |
Definition at line 146 of file deviceenumerator.cpp.
References m_rxEnumeration.
Referenced by SamplingDeviceDialog::accept(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| void DeviceEnumerator::changeTxSelection | ( | int | tabIndex, |
| int | deviceIndex | ||
| ) |
Definition at line 159 of file deviceenumerator.cpp.
References m_txEnumeration.
Referenced by SamplingDeviceDialog::accept(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| void DeviceEnumerator::enumerateMIMODevices | ( | PluginManager * | pluginManager | ) |
Definition at line 85 of file deviceenumerator.cpp.
References PluginManager::getMIMODeviceRegistrations(), i, and m_mimoEnumeration.
Referenced by PluginManager::loadPluginsFinal().
Here is the call graph for this function:
Here is the caller graph for this function:| void DeviceEnumerator::enumerateRxDevices | ( | PluginManager * | pluginManager | ) |
Definition at line 35 of file deviceenumerator.cpp.
References PluginManager::getSourceDeviceRegistrations(), i, and m_rxEnumeration.
Referenced by PluginManager::loadPluginsFinal().
Here is the call graph for this function:
Here is the caller graph for this function:| void DeviceEnumerator::enumerateTxDevices | ( | PluginManager * | pluginManager | ) |
Definition at line 60 of file deviceenumerator.cpp.
References PluginManager::getSinkDeviceRegistrations(), i, and m_txEnumeration.
Referenced by PluginManager::loadPluginsFinal().
Here is the call graph for this function:
Here is the caller graph for this function:| int DeviceEnumerator::getFileInputDeviceIndex | ( | ) | const |
Get Rx default device.
Definition at line 215 of file deviceenumerator.cpp.
References PluginManager::getFileInputDeviceId(), and m_rxEnumeration.
Referenced by MainCore::addSourceDevice(), and MainWindow::addSourceDevice().
Here is the call graph for this function:
Here is the caller graph for this function:| int DeviceEnumerator::getFileSinkDeviceIndex | ( | ) | const |
Get Tx default device.
Definition at line 227 of file deviceenumerator.cpp.
References PluginManager::getFileSinkDeviceId(), and m_txEnumeration.
Referenced by MainCore::addSinkDevice(), and MainWindow::addSinkDevice().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 56 of file deviceenumerator.h.
|
inline |
Definition at line 53 of file deviceenumerator.h.
Referenced by MainWindow::addMIMODevice(), DeviceUserArgsDialog::DeviceUserArgsDialog(), MainWindow::sampleMIMOChanged(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| int DeviceEnumerator::getMIMOSamplingDeviceIndex | ( | const QString & | deviceId, |
| int | sequence | ||
| ) |
Definition at line 275 of file deviceenumerator.cpp.
References m_mimoEnumeration.
|
inline |
Definition at line 50 of file deviceenumerator.h.
Referenced by DeviceUserArgsDialog::DeviceUserArgsDialog().
Here is the caller graph for this function:
|
inline |
Definition at line 48 of file deviceenumerator.h.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), DeviceUserArgsDialog::DeviceUserArgsDialog(), WebAPIAdapterSrv::instanceDevices(), and WebAPIAdapterGUI::instanceDevices().
Here is the caller graph for this function:
|
inline |
Definition at line 49 of file deviceenumerator.h.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), DeviceUserArgsDialog::DeviceUserArgsDialog(), WebAPIAdapterSrv::instanceDevices(), and WebAPIAdapterGUI::instanceDevices().
Here is the caller graph for this function:
|
inline |
Definition at line 54 of file deviceenumerator.h.
|
inline |
Definition at line 51 of file deviceenumerator.h.
Referenced by MainCore::addSourceDevice(), MainWindow::addSourceDevice(), MainCore::changeSampleSource(), WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), DeviceUserArgsDialog::DeviceUserArgsDialog(), WebAPIAdapterSrv::instanceDevices(), WebAPIAdapterGUI::instanceDevices(), MainWindow::sampleSourceChanged(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| int DeviceEnumerator::getRxSamplingDeviceIndex | ( | const QString & | deviceId, |
| int | sequence | ||
| ) |
Definition at line 251 of file deviceenumerator.cpp.
References m_rxEnumeration.
Referenced by MainWindow::MainWindow().
Here is the caller graph for this function:| int DeviceEnumerator::getTestMIMODeviceIndex | ( | ) | const |
Get MIMO default device.
Definition at line 239 of file deviceenumerator.cpp.
References PluginManager::getTestMIMODeviceId(), and m_mimoEnumeration.
Referenced by MainWindow::addMIMODevice().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 55 of file deviceenumerator.h.
|
inline |
Definition at line 52 of file deviceenumerator.h.
Referenced by MainCore::addSinkDevice(), MainWindow::addSinkDevice(), MainCore::changeSampleSink(), WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), DeviceUserArgsDialog::DeviceUserArgsDialog(), WebAPIAdapterSrv::instanceDevices(), WebAPIAdapterGUI::instanceDevices(), MainWindow::sampleSinkChanged(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| int DeviceEnumerator::getTxSamplingDeviceIndex | ( | const QString & | deviceId, |
| int | sequence | ||
| ) |
Definition at line 263 of file deviceenumerator.cpp.
References m_txEnumeration.
|
static |
Definition at line 24 of file deviceenumerator.cpp.
Referenced by SamplingDeviceDialog::accept(), MainWindow::addMIMODevice(), MainCore::addSinkDevice(), MainWindow::addSinkDevice(), MainCore::addSourceDevice(), MainWindow::addSourceDevice(), MainCore::changeSampleSink(), MainCore::changeSampleSource(), WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), WebAPIAdapterSrv::instanceDevices(), WebAPIAdapterGUI::instanceDevices(), PluginManager::loadPluginsFinal(), MainWindow::MainWindow(), MainWindow::on_action_DeviceUserArguments_triggered(), SamplingDeviceControl::removeSelectedDeviceIndex(), MainWindow::sampleMIMOChanged(), MainWindow::sampleSinkChanged(), MainWindow::sampleSourceChanged(), SamplingDeviceDialog::SamplingDeviceDialog(), and SamplingDeviceControl::setSelectedDeviceIndex().
Here is the caller graph for this function:| void DeviceEnumerator::listMIMODeviceNames | ( | QList< QString > & | list, |
| std::vector< int > & | indexes | ||
| ) | const |
Definition at line 134 of file deviceenumerator.cpp.
References PluginInterface::SamplingDevice::BuiltInDevice, and m_mimoEnumeration.
Referenced by SamplingDeviceDialog::SamplingDeviceDialog().
Here is the caller graph for this function:| void DeviceEnumerator::listRxDeviceNames | ( | QList< QString > & | list, |
| std::vector< int > & | indexes | ||
| ) | const |
Definition at line 110 of file deviceenumerator.cpp.
References PluginInterface::SamplingDevice::BuiltInDevice, and m_rxEnumeration.
Referenced by SamplingDeviceDialog::SamplingDeviceDialog().
Here is the caller graph for this function:| void DeviceEnumerator::listTxDeviceNames | ( | QList< QString > & | list, |
| std::vector< int > & | indexes | ||
| ) | const |
Definition at line 122 of file deviceenumerator.cpp.
References PluginInterface::SamplingDevice::BuiltInDevice, and m_txEnumeration.
Referenced by SamplingDeviceDialog::SamplingDeviceDialog().
Here is the caller graph for this function:| void DeviceEnumerator::removeMIMOSelection | ( | int | tabIndex | ) |
Definition at line 205 of file deviceenumerator.cpp.
References m_mimoEnumeration.
| void DeviceEnumerator::removeRxSelection | ( | int | tabIndex | ) |
Definition at line 185 of file deviceenumerator.cpp.
References m_rxEnumeration.
Referenced by SamplingDeviceControl::removeSelectedDeviceIndex().
Here is the caller graph for this function:| void DeviceEnumerator::removeTxSelection | ( | int | tabIndex | ) |
Definition at line 195 of file deviceenumerator.cpp.
References m_txEnumeration.
Referenced by SamplingDeviceControl::removeSelectedDeviceIndex().
Here is the caller graph for this function:
|
private |
Definition at line 82 of file deviceenumerator.h.
Referenced by changeMIMOSelection(), enumerateMIMODevices(), getMIMOSamplingDeviceIndex(), getTestMIMODeviceIndex(), listMIMODeviceNames(), and removeMIMOSelection().
|
private |
Definition at line 80 of file deviceenumerator.h.
Referenced by changeRxSelection(), enumerateRxDevices(), getFileInputDeviceIndex(), getRxSamplingDeviceIndex(), listRxDeviceNames(), and removeRxSelection().
|
private |
Definition at line 81 of file deviceenumerator.h.
Referenced by changeTxSelection(), enumerateTxDevices(), getFileSinkDeviceIndex(), getTxSamplingDeviceIndex(), listTxDeviceNames(), and removeTxSelection().
1.8.13