1 #ifndef _LIGHTBULBSMART_HPP__
2 #define _LIGHTBULBSMART_HPP__
6 #include "IoTRMICall.hpp"
7 #include "IoTRMIObject.hpp"
14 virtual void turnOn() = 0;
15 virtual double getBrightnessRangeLowerBound() = 0;
16 virtual void turnOff() = 0;
17 virtual bool getState() = 0;
18 virtual double getBrightnessRangeUpperBound() = 0;
19 virtual double getSaturation() = 0;
20 virtual double getHueRangeLowerBound() = 0;
21 virtual double getHue() = 0;
22 virtual double getHueRangeUpperBound() = 0;
23 virtual int getTemperature() = 0;
24 virtual double getBrightness() = 0;
25 virtual int getTemperatureRangeLowerBound() = 0;
26 virtual int getTemperatureRangeUpperBound() = 0;
27 virtual void setColor(double _hue, double _saturation, double _brightness) = 0;
28 virtual void init() = 0;
29 virtual double getSaturationRangeLowerBound() = 0;
30 virtual double getSaturationRangeUpperBound() = 0;
31 virtual void setTemperature(int _temperature) = 0;