MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / getSelectedDevice

Method getSelectedDevice

Components/PanoramicDialog.cpp:543–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543bool
544PanoramicDialog::getSelectedDevice(Suscan::Source::Device &dev) const
545{
546 std::string name = this->ui->deviceCombo->currentText().toStdString();
547 auto p = this->deviceMap.find(name);
548
549 if (p != this->deviceMap.cend()) {
550 dev = p->second;
551 return true;
552 }
553
554 return false;
555}
556
557void
558PanoramicDialog::adjustRanges(void)

Callers 7

saveConfigMethod · 0.95
onDeviceChangedMethod · 0.95
onFullRangeChangedMethod · 0.95
onToggleScanMethod · 0.95
onLnbOffsetChangedMethod · 0.95
onGainChangedMethod · 0.95
getPanSpectrumDeviceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected