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

Method cacheMatchSysEx

Source/MIDI/CtrlrMidiInputComparatorSingle.cpp:260–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260bool CtrlrMidiInputComparatorSingle::cacheMatchSysEx ()
261{
262 for (int i=0; i<cacheSysEx.size(); i++)
263 {
264 if (compareMemory(cacheSysEx[i].key.toMemoryBlock(), messageContainer.getData()))
265 {
266 for (int j=0; j<cacheSysEx[i].mapData.targets.size(); j++)
267 {
268 cacheSysEx[i].mapData.targets[j]->getProcessor().setValueFromMIDI (messageContainer);
269 }
270
271 return (true);
272 }
273 }
274 return (false);
275}
276
277const String CtrlrMidiInputComparatorSingle::dumpTableContents()
278{

Callers

nothing calls this directly

Calls 6

compareMemoryFunction · 0.85
setValueFromMIDIMethod · 0.80
sizeMethod · 0.45
toMemoryBlockMethod · 0.45
getDataMethod · 0.45
getProcessorMethod · 0.45

Tested by

no test coverage detected