87 bool processNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n);
90 bool processText(
const char *dev,
const char *name,
char *texts[],
char *names[],
int n);
122 void addFilterDuration(
const char *filterName, uint16_t filterDuration);
125 uint8_t currentFilterSlot {0};
126 uint32_t m_Capabilities {0};
Class to provide extended functionality for devices in addition to the functionality provided by INDI...
void initProperties(const char *group, uint32_t capabilities)
Initialize light box properties. It is recommended to call this function within initProperties() of y...
void ISGetProperties(const char *deviceName)
isGetLightBoxProperties Get light box properties
enum INDI::LightBoxInterface::@455 LightBoxCapability
INDI::PropertyText ActiveDeviceTP
INDI::PropertyNumber LightIntensityNP
bool saveConfigItems(FILE *fp)
bool processSwitch(const char *dev, const char *name, ISState *states, char *names[], int n)
Process light box switch properties.
virtual bool EnableLightBox(bool enable)
EnableLightBox Turn on/off on a light box. Must be implemented in the child class.
bool processText(const char *dev, const char *name, char *texts[], char *names[], int n)
Process light box text properties.
virtual bool SetLightBoxBrightness(uint16_t value)
setBrightness Set light level. Must be implemented in the child class, if supported.
bool processNumber(const char *dev, const char *name, double values[], char *names[], int n)
Process light box number properties.
INDI::PropertySwitch LightSP
INDI::PropertyNumber FilterIntensityNP
virtual ~LightBoxInterface()
Namespace to encapsulate INDI client, drivers, and mediator classes.