MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / asTerminalModule

Function asTerminalModule

src/override/Engine.cpp:729–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727
728
729static TerminalModule* asTerminalModule(Module* const module) {
730 const plugin::Model* const model = module->model;
731 if (std::find(hostTerminalModels.begin(), hostTerminalModels.end(), model) != hostTerminalModels.end())
732 return static_cast<TerminalModule*>(module);
733 return nullptr;
734}
735
736
737void Engine::addModule(Module* module) {

Callers 2

addModuleMethod · 0.85
removeModule_NoLockMethod · 0.85

Calls 3

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected