DimmableDevice.h
Go to the documentation of this file.
Delegate class, encapsulates a std::function Added constructor template implements lambda callback wh...
Definition: Delegate.h:24
Definition: DimmableDevice.h:27
bool getAttribute(Attribute attr, unsigned &value) const override
Get the (cached) device attribute value.
Definition: DimmableDevice.h:33
Status setAttribute(Attribute attr, unsigned value, Callback callback) override
Set a device attribute.
Definition: DimmableDevice.h:44
DimmableDevice(ID id, const String &name)
Definition: DimmableDevice.h:29
Definition: OnOffDevice.h:27
bool getAttribute(Attribute attr, unsigned &value) const override
Get the (cached) device attribute value.
Definition: OnOffDevice.h:43
Status setAttribute(Attribute attr, unsigned value, Callback) override
Set a device attribute.
Definition: OnOffDevice.h:54
Definition: Bridge.h:30
Status
Status of a setAttribute request.
Definition: Libraries/HueEmulator/src/include/Hue/Device.h:60
1.9.1