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

Method getModule

include/app/ModuleWidget.hpp:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 /** Returns Module attached to this ModuleWidget, casted to the given Module type. */
39 template <class TModule>
40 TModule* getModule() {
41 return dynamic_cast<TModule*>(getModule());
42 }
43 /** Associates this ModuleWidget with the Module.
44 Transfers ownership to `this`.
45 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected