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

Method deserializeAutoGains

Default/Source/SourceWidget.cpp:787–798  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787void
788SourceWidget::deserializeAutoGains(void)
789{
790 Suscan::Singleton *sus = Suscan::Singleton::get_instance();
791
792 for (auto i = sus->getFirstAutoGain();
793 i != sus->getLastAutoGain();
794 i++) {
795 AutoGain ag(*i);
796 this->autoGains[ag.getDriver()].push_back(ag);
797 }
798}
799
800// Configuration methods
801Suscan::Serializable *

Callers 1

applyConfigMethod · 0.95

Calls 3

getFirstAutoGainMethod · 0.80
getLastAutoGainMethod · 0.80
getDriverMethod · 0.45

Tested by

no test coverage detected