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

Method allModulatorsInitialized

Source/Core/CtrlrModulator/CtrlrModulator.cpp:399–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399void CtrlrModulator::allModulatorsInitialized()
400{
401 for (int i=0; i<delayedProperties.getNumProperties(); i++)
402 {
403 setProperty (delayedProperties.getPropertyName(i), delayedProperties.getProperty(delayedProperties.getPropertyName(i)));
404 }
405
406 if (getComponent())
407 {
408 getComponent()->allModulatorsInitialized();
409 }
410
411 if (owner.getCtrlrManagerOwner().getInstanceMode() == InstanceSingle || owner.getCtrlrManagerOwner().getInstanceMode() == InstanceSingleRestriced)
412 {
413 processor.setValueGeneric (CtrlrModulatorValue (getProperty(Ids::modulatorValue), CtrlrModulatorValue::changedByProgram), true);
414 }
415}
416
417CtrlrModulator *CtrlrModulator::getReference()
418{

Callers 2

allPanelsInitializedMethod · 0.45
bootstrapPanelMethod · 0.45

Calls 7

setPropertyFunction · 0.85
getComponentFunction · 0.85
CtrlrModulatorValueClass · 0.85
getPropertyNameMethod · 0.80
getInstanceModeMethod · 0.80
setValueGenericMethod · 0.80
getPropertyMethod · 0.45

Tested by

no test coverage detected