MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / _INIT_

Function _INIT_

source_modules/soapy_source/src/main.cpp:517–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515};
516
517MOD_EXPORT void _INIT_() {
518 config.setPath(options::opts.root + "/soapy_source_config.json");
519 json defConf;
520 defConf["device"] = "";
521 defConf["devices"] = json({});
522 config.load(defConf);
523 config.enableAutoSave();
524}
525
526MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) {
527 return new SoapyModule(name);

Callers

nothing calls this directly

Calls 3

enableAutoSaveMethod · 0.80
setPathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected