hueplusplus
1.0.0
|
Builder to create LightState. More...
#include <hueplusplus/Scene.h>
Public Member Functions | |
LightStateBuilder & | setOn (bool on) |
LightStateBuilder & | setBrightness (int brightness) |
LightStateBuilder & | setHueSat (const HueSaturation &hueSat) |
LightStateBuilder & | setXY (const XY &xy) |
LightStateBuilder & | setCt (int mired) |
LightStateBuilder & | setColorloop (bool enabled) |
LightStateBuilder & | setTransitionTime (int time) |
LightState | create () |
Builder to create LightState.
LightState hueplusplus::LightStateBuilder::create | ( | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setBrightness | ( | int | brightness | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setColorloop | ( | bool | enabled | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setCt | ( | int | mired | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setHueSat | ( | const HueSaturation & | hueSat | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setOn | ( | bool | on | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setTransitionTime | ( | int | time | ) |
LightStateBuilder & hueplusplus::LightStateBuilder::setXY | ( | const XY & | xy | ) |