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

Method removeConnection

hi_scripting/scripting/api/ScriptingApiObjects.cpp:3705–3718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3703}
3704
3705bool ScriptingObjects::ScriptRoutingMatrix::removeConnection(int sourceIndex, int destinationIndex)
3706{
3707 if (checkValidObject())
3708 {
3709 if (auto r = dynamic_cast<RoutableProcessor*>(rp.get()))
3710 {
3711 return r->getMatrix().removeConnection(sourceIndex, destinationIndex);
3712 }
3713 else
3714 return false;
3715 }
3716
3717 return false;
3718}
3719
3720void ScriptingObjects::ScriptRoutingMatrix::clear()
3721{

Callers 1

clearMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected