MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / transaction

Method transaction

dependencies/hueplusplus-1.0.0/src/Group.cpp:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163StateTransaction Group::transaction()
164{
165 // Do not pass state, because it is not the state of ALL lights in the group
166 return StateTransaction(state.getCommandAPI(), "/groups/" + std::to_string(id) + "/action", nullptr);
167}
168
169void Group::setOn(bool on, uint8_t transition)
170{

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
setBrightnessMethod · 0.45
setColorHueMethod · 0.45
setColorSaturationMethod · 0.45
setColorHueSaturationMethod · 0.45
setColorXYMethod · 0.45
setColorLoopMethod · 0.45
alertHueSaturationMethod · 0.45
alertXYMethod · 0.45

Calls 2

StateTransactionClass · 0.85
to_stringFunction · 0.85

Tested by 4

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36