TwiceAsNice
2019-02-18
|
Provides interface to implement controllable light box/switch device.
More...
#include <indilightboxinterface.h>
Provides interface to implement controllable light box/switch device.
Filter durations preset can be defined if the active filter name is set. Once the filter names are retrieved, the duration in seconds can be set for each filter. When the filter wheel changes to a new filter, the duration is set accordingly.
The child class is expected to call the following functions from the INDI frameworks standard functions:
IMPORTANT: initLightBoxProperties() must be called before any other function to initilize the Light device properties. IMPORTANT: isGetLightBoxProperties() must be called in your driver ISGetProperties function IMPORTANT: processLightBoxSwitch() must be called in your driver ISNewSwitch function. IMPORTANT: processLightBoxNumber() must be called in your driver ISNewNumber function. IMPORTANT: processLightBoxText() must be called in your driver ISNewText function.