MCPcopy Create free account
hub / github.com/VCVRack/Rack / createModule

Method createModule

include/helpers.hpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24plugin::Model* createModel(std::string slug) {
25 struct TModel : plugin::Model {
26 engine::Module* createModule() override {
27 engine::Module* m = new TModule;
28 m->model = this;
29 return m;
30 }
31 app::ModuleWidget* createModuleWidget(engine::Module* m) override {
32 TModule* tm = NULL;
33 if (m) {

Callers 5

redoMethod · 0.45
json_array_foreachFunction · 0.45
chooseModelFunction · 0.45
moduleWidgetFromJsonFunction · 0.45
cloneActionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected