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

Method getCable

src/engine/Engine.cpp:1107–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1105
1106
1107Cable* Engine::getCable(int64_t cableId) {
1108 if (cableId < 0)
1109 return NULL;
1110 SharedLock<SharedMutex> lock(internal->mutex);
1111 auto it = internal->cablesCache.find(cableId);
1112 if (it == internal->cablesCache.end())
1113 return NULL;
1114 return it->second;
1115}
1116
1117
1118void Engine::setParamValue(Module* module, int paramId, float value) {

Callers 2

undoMethod · 0.45
redoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected