Command to set the lighting of a Thouslite device. More...
#include <thouslite_controller.h>
Inheritance diagram for ControlAPI::ThousliteCommand_SetLighting:
Public Member Functions | |
| virtual void | cloneFrom (DeviceCommandPackage *other) override |
| clone from another device package - should be implemented for custom types. More... | |
Public Member Functions inherited from ControlAPI::DeviceCommandPackage | |
| virtual std::string | className () override |
| virtual std::shared_ptr< DeviceCommandPackage > | createSharedPtr () |
| virtual DeviceCommandPackage * | prepareUpdatePackage () |
| Creates/Returns the DeviceCommandPackage to be used for updates to a running command. Update package will be a shallow copy of this package. It is expected that markUpdatePackageReady() be called after update package is altered. More... | |
| void | markUpdatePackageReady () |
| signal the update package is ready to be used in running commands. prepareUpdatePackage() should be called first. | |
Public Attributes | |
| unsigned int | recipe [14] |
Public Attributes inherited from ControlAPI::DeviceCommandPackage | |
| bool | continuous = false |
| set to true if command is a continous (async/time consuming) command or if it is desired that the command run indefinitely. (tracking command etc) set to false if the command should terminate once a target is reached. | |
Public Attributes inherited from ControlAPI::ApiCommandPackage | |
| std::string | alias |
| user definable unique alias for this command package | |
Additional Inherited Members | |
Static Public Member Functions inherited from ControlAPI::DeviceCommandPackage | |
| static std::string | staticClassName () |
Static Public Member Functions inherited from ControlAPI::ApiCommandPackage | |
| static std::string | staticClassName () |
Detailed Description
Command to set the lighting of a Thouslite device.
Member Function Documentation
◆ cloneFrom()
| overridevirtual |
clone from another device package - should be implemented for custom types.
- Parameters
-
other
Reimplemented from ControlAPI::DeviceCommandPackage.
Member Data Documentation
◆ recipe
| unsigned int ControlAPI::ThousliteCommand_SetLighting::recipe[14] |
light intensity for the 14 channels. 0 - 1023 all 0 will turn off LEDCube power. % Channels: 1 -> White (Broad spectrum) 2 -> Orange (585nm) 3 -> Lt Orange (Broad spectrum) 4 -> Blue-Green (480nm) 5 -> Red (660nm) 6 -> Green-Blue (505nm) 7 -> Green (520nm) 8 -> Blue (445nm) 9 -> Lt Violet (420nm)
10 -> Red (635nm) 11 -> Yellow-Grn (545nm) 12 -> Dk Violet (405nm) 13 -> Red (670nm) 14 -> Red/IR (700/850nm)
The documentation for this class was generated from the following file:
- thouslite_controller/thouslite_controller.h
Public Member Functions inherited from