MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / getModulator

Method getModulator

Source/Core/CtrlrPanel/CtrlrPanel.cpp:1534–1545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1532}
1533
1534CtrlrModulator* CtrlrPanel::getModulator (const String& name) const
1535{
1536 // return (modulatorsByName[name]);
1537 for (int i=0; i<ctrlrModulators.size(); i++)
1538 {
1539 if (ctrlrModulators[i]->getProperty (Ids::name) == name)
1540 {
1541 return (ctrlrModulators[i]);
1542 }
1543 }
1544 return (0);
1545}
1546
1547CtrlrModulator* CtrlrPanel::getModulatorByVstIndex (const int vstIndex)
1548{

Callers 5

removeFromTabMethod · 0.45
getParentIfGrouppedMethod · 0.45
syncDestinationMethod · 0.45
getSymbolValueMethod · 0.45

Calls 2

sizeMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected