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

Method addMatchTargetSysEx

Source/MIDI/CtrlrMidiInputComparatorSingle.cpp:110–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void CtrlrMidiInputComparatorSingle::addMatchTargetSysEx (CtrlrModulator *m)
111{
112 BigInteger bi = memoryToBits(m->getMidiMessage(source).getMidiPattern());
113
114 CtrlrMultiMidiMapIterator it = mapSysEx.find(bi);
115
116 if (it == mapSysEx.end())
117 {
118 mapSysEx.insert (CtrlrMultiMidiMapPair(bi,m));
119 }
120 else
121 {
122 mapSysEx[bi].targets.add (m);
123 }
124}
125
126void CtrlrMidiInputComparatorSingle::match (const MidiMessage &m)
127{

Callers

nothing calls this directly

Calls 5

memoryToBitsFunction · 0.85
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected