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

Method getOutput

src/app/ModuleWidget.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155PortWidget* ModuleWidget::getOutput(int portId) {
156 return getFirstDescendantOfTypeWithCondition<PortWidget>(this, [&](PortWidget* pw) -> bool {
157 return pw->type == engine::Port::OUTPUT && pw->portId == portId;
158 });
159}
160
161template <class T, typename F>
162void doIfTypeRecursive(widget::Widget* w, F f) {

Callers 1

setCableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected