MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetNumTargets

Method GetNumTargets

Source/IModulator.cpp:192–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192int IModulator::GetNumTargets() const
193{
194 int ret = 0;
195 for (int i = 0; i < (int)mTargets.size(); ++i)
196 {
197 if (mTargets[i].mUIControlTarget != nullptr)
198 ++ret;
199 }
200 return ret;
201}

Callers 3

UpdateTargetFunction · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected