|
upm
1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
|
Interface for Light Controllers This interface is used to represent light controllers
Public Member Functions | |
| synchronized void | delete () |
| void | setPowerOn () |
| void | setPowerOff () |
| boolean | isPowered () |
| void | setBrightness (int percent) |
| int | getBrightness () |
Public Member Functions inherited from IModuleStatus | |
| synchronized void | delete () |
| String | getModuleName () |
| int getBrightness | ( | ) |
Get brightness
| std::runtime_error |
| boolean isPowered | ( | ) |
Get power state
| std::runtime_error |
| void setBrightness | ( | int | percent | ) |
Set brightness
| percent | brightness as percentage |
| std::runtime_error |
| void setPowerOff | ( | ) |
Turn off power
| std::runtime_error |
| void setPowerOn | ( | ) |
Turn on power
| std::runtime_error |


1.8.11