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

Function getModel

src/override/plugin.cpp:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122Model* getModel(const std::string& pluginSlug, const std::string& modelSlug) {
123 if (pluginSlug.empty() || modelSlug.empty())
124 return NULL;
125
126 Plugin* p = getPlugin(pluginSlug);
127 if (!p)
128 return NULL;
129
130 return p->getModel(modelSlug);
131}
132
133
134Model* getModelFallback(const std::string& pluginSlug, const std::string& modelSlug) {

Callers 1

getModelFallbackFunction · 0.85

Calls 3

getPluginFunction · 0.85
getModelMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected