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

Method getInputs

src/app/ModuleWidget.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188std::vector<PortWidget*> ModuleWidget::getInputs() {
189 std::vector<PortWidget*> pws;
190 doIfTypeRecursive<PortWidget>(this, [&](PortWidget* pw) {
191 if (pw->type == engine::Port::INPUT)
192 pws.push_back(pw);
193 });
194 return pws;
195}
196
197std::vector<PortWidget*> ModuleWidget::getOutputs() {
198 std::vector<PortWidget*> pws;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected