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

Method getModulator

Source/Core/CtrlrManager/CtrlrManager.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121CtrlrModulator* CtrlrManager::getModulator (const String& name) const
122{
123 for (int i=0; i<ctrlrModulators.size(); ++i)
124 {
125 if (ctrlrModulators[i]->getName() == name)
126 {
127 return (ctrlrModulators[i]);
128 }
129 }
130
131 return (0);
132}
133
134const Array <CtrlrModulator*> CtrlrManager::getModulatorsByMidiType(const CtrlrMidiMessageType typeToFilter)
135{

Callers 1

setReferenceMethod · 0.45

Calls 2

getNameMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected