MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / setNewComponentState

Method setNewComponentState

sources/base/ComponentController.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void ComponentController::setNewComponentState(hyperhdr::Components comp, bool activated)
96{
97 if (_componentStates[comp] != activated)
98 {
99 Info(_log, "%s: %s", componentToString(comp), (activated ? "enabled" : "disabled"));
100 _componentStates[comp] = activated;
101 // emit component has changed state
102 emit SignalComponentStateChanged(comp, activated);
103 }
104}
105
106void ComponentController::turnGrabbers(bool activated)
107{

Callers

nothing calls this directly

Calls 1

componentToStringFunction · 0.85

Tested by

no test coverage detected