MCPcopy Create free account
hub / github.com/T-Troll/alienfx-tools / QueryCommand

Function QueryCommand

LightFX/LightFX.cpp:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void QueryCommand(LightQueryElement& lqe) {
94 if (updateThread) {
95 modifyQuery.lockWrite();
96 lightQuery.push(lqe);
97 modifyQuery.unlockWrite();
98 SetEvent(haveNewElement);
99 }
100}
101
102void QueryUpdate() {
103 static LightQueryElement upd{ NULL, 0, 1 };

Callers 4

QueryUpdateFunction · 0.85
SetLightFunction · 0.85
QueryAllDevsMethod · 0.85
SetLightMethod · 0.85

Calls 2

lockWriteMethod · 0.80
unlockWriteMethod · 0.80

Tested by

no test coverage detected