command to set the rgb color of a dmx lighting device More...
#include <dmx_controller.h>
Inheritance diagram for ControlAPI::DMXDeviceCommand_RGBColor8Bit:
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 | |
| float | red = 0.0f |
| float | green = 0.0f |
| float | blue = 0.0f |
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 rgb color of a dmx lighting device
Member Function Documentation
◆ cloneFrom()
| overridevirtual |
clone from another device package - should be implemented for custom types.
- Parameters
-
other
Reimplemented from ControlAPI::DeviceCommandPackage.
Reimplemented in ControlAPI::KinoFloDeviceCommand_RGBColor8Bit.
The documentation for this class was generated from the following file:
- dmx_controller/dmx_controller.h
Public Member Functions inherited from