MCPcopy Create free account
hub / github.com/benkuper/Chataigne / onContainerTriggerTriggered

Method onContainerTriggerTriggered

Source/Module/Routing/ModuleRouter.cpp:184–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void ModuleRouter::onContainerTriggerTriggered(Trigger * t)
185{
186 if (t == selectAllValues || t == deselectAllValues)
187 {
188 for (auto &sv : sourceValues.items)
189 {
190 sv->enabled->setValue(t == selectAllValues);
191 }
192 }
193 else if (t == routeAllValues)
194 {
195 for (auto& v : sourceValues.items)
196 {
197 if (v->enabled->value && v->outModule != nullptr)
198 {
199 v->outModule->handleRoutedModuleValue(v->sourceValue, v->routeParams.get());
200 }
201 }
202 }
203}
204
205void ModuleRouter::inspectableDestroyed(Inspectable * i)
206{

Callers

nothing calls this directly

Calls 3

setValueMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected