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

Method getModuleName

core/src/module_com.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33std::string ModuleComManager::getModuleName(std::string name) {
34 std::lock_guard<std::mutex> lck(mtx);
35 if (interfaces.find(name) == interfaces.end()) {
36 spdlog::error("Tried to call unknown module interface: {0}", name);
37 return "";
38 }
39 return interfaces[name].moduleName;
40}
41
42bool ModuleComManager::callInterface(std::string name, int code, void* in, void* out) {
43 std::lock_guard<std::mutex> lck(mtx);

Callers 5

updatePresenceMethod · 0.80
applyBookmarkMethod · 0.80
menuHandlerMethod · 0.80
selectRecorderByNameMethod · 0.80
commandHandlerMethod · 0.80

Calls 3

findMethod · 0.80
errorFunction · 0.50
endMethod · 0.45

Tested by

no test coverage detected