|
hueplusplus 1.2.0
|
#include <hueplusplus/ExtendedColorHueStrategy.h>
Inheritance diagram for hueplusplus::ExtendedColorHueStrategy:
Collaboration diagram for hueplusplus::ExtendedColorHueStrategy: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. | |
| bool | alertXY (const XYBrightness &xy, Light &light) const override |
| Function that lets the light perform one breath cycle in the specified color. | |
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. | |
| bool | setColorSaturation (uint8_t sat, uint8_t transition, Light &light) const override |
| Function for changing a lights color in saturation with a specified transition. | |
| 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. | |
| 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. | |
| bool | setColorLoop (bool on, Light &light) const override |
| Function for turning on/off the color loop feature of a light. | |
| bool | alertHueSaturation (const HueSaturation &hueSat, Light &light) const override |
| Function that lets the light perform one breath cycle in the specified color. | |
| bool | alertXY (const XYBrightness &xy, Light &light) const override |
| Function that lets the light perform one breath cycle in the specified color. | |
| HueSaturation | getColorHueSaturation (Light &light) const override |
| Function that returns the current color of the light as hue and saturation. | |
| HueSaturation | getColorHueSaturation (const Light &light) const override |
| Function that returns the current color of the light as hue and saturation. | |
| XYBrightness | getColorXY (Light &light) const override |
| Function that returns the current color of the light as xy. | |
| XYBrightness | getColorXY (const Light &light) const override |
| Function that returns the current color of the light as xy. | |
Public Member Functions inherited from hueplusplus::ColorHueStrategy | |
| virtual | ~ColorHueStrategy ()=default |
| Virtual dtor. | |
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.