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

Method getPorts

src/app/ModuleWidget.cpp:180–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180std::vector<PortWidget*> ModuleWidget::getPorts() {
181 std::vector<PortWidget*> pws;
182 doIfTypeRecursive<PortWidget>(this, [&](PortWidget* pw) {
183 pws.push_back(pw);
184 });
185 return pws;
186}
187
188std::vector<PortWidget*> ModuleWidget::getInputs() {
189 std::vector<PortWidget*> pws;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected