hueplusplus
1.0.0
|
#include <hueplusplus/ExtendedColorHueStrategy.h>
Public Member Functions | |
bool | alertHueSaturation (const HueSaturation &hueSat, Light &light) const override |
Function that lets the light perform one breath cycle in the specified color. More... | |
bool | alertXY (const XYBrightness &xy, Light &light) const override |
Function that lets the light perform one breath cycle in the specified color. More... | |
Public Member Functions inherited from hueplusplus::SimpleColorHueStrategy | |
bool | setColorHue (uint16_t hue, uint8_t transition, Light &light) const override |
Function for changing a lights color in hue with a specified transition. More... | |
bool | setColorSaturation (uint8_t sat, uint8_t transition, Light &light) const override |
Function for changing a lights color in saturation with a specified transition. More... | |
bool | setColorHueSaturation (const HueSaturation &hueSat, uint8_t transition, Light &light) const override |
Function for changing a lights color in hue and saturation format with a specified transition. More... | |
bool | setColorXY (const XYBrightness &xy, uint8_t transition, Light &light) const override |
Function for changing a lights color in CIE format with a specified transition. More... | |
bool | setColorLoop (bool on, Light &light) const override |
Function for turning on/off the color loop feature of a light. More... | |
bool | alertHueSaturation (const HueSaturation &hueSat, Light &light) const override |
Function that lets the light perform one breath cycle in the specified color. More... | |
bool | alertXY (const XYBrightness &xy, Light &light) const override |
Function that lets the light perform one breath cycle in the specified color. More... | |
HueSaturation | getColorHueSaturation (Light &light) const override |
Function that returns the current color of the light as hue and saturation. More... | |
HueSaturation | getColorHueSaturation (const Light &light) const override |
Function that returns the current color of the light as hue and saturation. More... | |
XYBrightness | getColorXY (Light &light) const override |
Function that returns the current color of the light as xy. More... | |
XYBrightness | getColorXY (const Light &light) const override |
Function that returns the current color of the light as xy. More... | |
Public Member Functions inherited from hueplusplus::ColorHueStrategy | |
virtual | ~ColorHueStrategy ()=default |
Virtual dtor. More... | |
Class extending the implementation of SimpleColorHueStrategy
To be used for lights that have both color and color temperature.
|
overridevirtual |
Function that lets the light perform one breath cycle in the specified color.
hueSat | The color in hue and saturation |
light | A reference of the light |
Blocks for the time a Light::alert() needs
Implements hueplusplus::ColorHueStrategy.
|
overridevirtual |
Function that lets the light perform one breath cycle in the specified color.
xy | The color in XY and brightness |
light | A reference of the light |
Blocks for the time a Light::alert() needs
Implements hueplusplus::ColorHueStrategy.