MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / addModemFactory

Method addModemFactory

src/modules/modem/Modem.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38Modem::~Modem() = default;
39
40void Modem::addModemFactory(ModemFactoryFn factoryFunc, std::string modemName, int defaultRate) {
41 modemFactories[modemName] = factoryFunc;
42 modemDefaultRates[modemName] = defaultRate;
43}
44
45ModemFactoryList Modem::getFactories() {
46 return modemFactories;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected