78 bool processLightBoxText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n);
114 void addFilterDuration(
const char *filterName, uint16_t filterDuration);
117 uint8_t currentFilterSlot;
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
INumberVectorProperty LightIntensityNP
bool processLightBoxNumber(const char *dev, const char *name, double values[], char *names[], int n)
Process light box number properties.
ISwitchVectorProperty LightSP
ITextVectorProperty ActiveDeviceTP
bool snoopLightBox(XMLEle *root)
virtual bool EnableLightBox(bool enable)
EnableLightBox Turn on/off on a light box. Must be impelemented in the child class.
INumber * FilterIntensityN
INumber LightIntensityN[1]
virtual bool SetLightBoxBrightness(uint16_t value)
setBrightness Set light level. Must be impelemented in the child class, if supported.
bool processLightBoxSwitch(const char *dev, const char *name, ISState *states, char *names[], int n)
Process light box switch properties.
void initLightBoxProperties(const char *deviceName, const char *groupNam)
Initilize light box properties. It is recommended to call this function within initProperties() of yo...
INumberVectorProperty FilterIntensityNP
bool processLightBoxText(const char *dev, const char *name, char *texts[], char *names[], int n)
Process light box text properties.
bool updateLightBoxProperties()
bool saveLightBoxConfigItems(FILE *fp)
virtual ~LightBoxInterface()
void isGetLightBoxProperties(const char *deviceName)
isGetLightBoxProperties Get light box properties
LightBoxInterface(DefaultDevice *device, bool isDimmable)
Namespace to encapsulate INDI client, drivers, and mediator classes.
Number vector property descriptor.
Switch vector property descriptor.
Text vector property descriptor.