MCPcopy Create free account
hub / github.com/christophhart/HISE / connect

Method connect

hi_scripting/scripting/api/ScriptModulationMatrix.cpp:321–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321bool ScriptModulationMatrix::connect(String sourceId, String targetId, bool addConnection)
322{
323 if (um == nullptr)
324 {
325 return connectInternal(sourceId, targetId, addConnection);
326 }
327 else
328 {
329 auto at = addConnection ? MatrixUndoAction::ActionType::Add : MatrixUndoAction::ActionType::Remove;
330
331 return um->perform(new MatrixUndoAction(this, at, {}, {}, sourceId, targetId));
332 }
333}
334
335float ScriptModulationMatrix::getModValue(var component)
336{

Callers 3

restoreFromValueTreeMethod · 0.45
connectInternalMethod · 0.45
getModulationDataMethod · 0.45

Calls 15

varFunction · 0.85
updateValueFunction · 0.85
getSourceModMethod · 0.80
getOriginalModulatorMethod · 0.80
getSourceCableMethod · 0.80
containsTargetMethod · 0.80
removeTargetMethod · 0.80
forEachFunction · 0.50
performMethod · 0.45
disconnectMethod · 0.45
sendRepaintMessageMethod · 0.45
getObjectMethod · 0.45

Tested by

no test coverage detected