23 #ifndef INCLUDE_HUEPLUSPLUS_BRIGHTNESS_STRATEGY_H 24 #define INCLUDE_HUEPLUSPLUS_BRIGHTNESS_STRATEGY_H 43 virtual bool setBrightness(
unsigned int bri, uint8_t transition,
Light& light)
const = 0;
Namespace for the hueplusplus library.
Definition: Action.h:27
virtual bool setBrightness(unsigned int bri, uint8_t transition, Light &light) const =0
Virtual function for changing a lights brightness with a specified transition.
Virtual base class for all BrightnessStrategies.
Definition: BrightnessStrategy.h:33
Class for Hue Light fixtures.
Definition: Light.h:60
virtual unsigned int getBrightness(Light &light) const =0
Virtual function that returns the current brightnessof the light.
virtual ~BrightnessStrategy()=default
Virtual dtor.