#include <indilightboxinterface.h>
|
| LightBoxInterface (DefaultDevice *device, bool isDimmable) |
|
virtual | ~LightBoxInterface () |
|
void | initLightBoxProperties (const char *deviceName, const char *groupNam) |
| Initilize light box properties. It is recommended to call this function within initProperties() of your primary device. More...
|
|
void | isGetLightBoxProperties (const char *deviceName) |
| isGetLightBoxProperties Get light box properties More...
|
|
bool | processLightBoxSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| Process light box switch properties. More...
|
|
bool | processLightBoxNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| Process light box number properties. More...
|
|
bool | processLightBoxText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| Process light box text properties. More...
|
|
bool | updateLightBoxProperties () |
|
bool | saveLightBoxConfigItems (FILE *fp) |
|
bool | snoopLightBox (XMLEle *root) |
|
virtual bool | SetLightBoxBrightness (uint16_t value) |
| setBrightness Set light level. Must be impelemented in the child class, if supported. More...
|
|
virtual bool | EnableLightBox (bool enable) |
| EnableLightBox Turn on/off on a light box. Must be impelemented in the child class. More...
|
|
Definition at line 46 of file indilightboxinterface.h.
◆ anonymous enum
◆ LightBoxInterface()
LightBoxInterface::LightBoxInterface |
( |
DefaultDevice * |
device, |
|
|
bool |
isDimmable |
|
) |
| |
|
protected |
◆ ~LightBoxInterface()
LightBoxInterface::~LightBoxInterface |
( |
| ) |
|
|
protectedvirtual |
◆ EnableLightBox()
bool LightBoxInterface::EnableLightBox |
( |
bool |
enable | ) |
|
|
protectedvirtual |
EnableLightBox Turn on/off on a light box. Must be impelemented in the child class.
- Parameters
-
enable | If true, turn on the light, otherwise turn off the light. |
- Returns
- True if successful, false otherwise.
Reimplemented in WandererCover, SnapCap, PegasusFlatMaster, LightPanelSimulator, GIOTTO, FlipFlat, Excalibur, and DeepSkyDadFP1.
Definition at line 201 of file indilightboxinterface.cpp.
◆ initLightBoxProperties()
void LightBoxInterface::initLightBoxProperties |
( |
const char * |
deviceName, |
|
|
const char * |
groupNam |
|
) |
| |
|
protected |
Initilize light box properties. It is recommended to call this function within initProperties() of your primary device.
- Parameters
-
deviceName | Name of the primary device |
groupName | Group or tab name to be used to define light box properties. |
Definition at line 42 of file indilightboxinterface.cpp.
◆ isGetLightBoxProperties()
void LightBoxInterface::isGetLightBoxProperties |
( |
const char * |
deviceName | ) |
|
|
protected |
isGetLightBoxProperties Get light box properties
- Parameters
-
deviceName | parent device name |
Definition at line 68 of file indilightboxinterface.cpp.
◆ processLightBoxNumber()
bool LightBoxInterface::processLightBoxNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ processLightBoxSwitch()
bool LightBoxInterface::processLightBoxSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ processLightBoxText()
bool LightBoxInterface::processLightBoxText |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
char * |
texts[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ saveLightBoxConfigItems()
bool LightBoxInterface::saveLightBoxConfigItems |
( |
FILE * |
fp | ) |
|
|
protected |
◆ SetLightBoxBrightness()
bool LightBoxInterface::SetLightBoxBrightness |
( |
uint16_t |
value | ) |
|
|
protectedvirtual |
◆ snoopLightBox()
bool LightBoxInterface::snoopLightBox |
( |
XMLEle * |
root | ) |
|
|
protected |
◆ updateLightBoxProperties()
bool LightBoxInterface::updateLightBoxProperties |
( |
| ) |
|
|
protected |
◆ ActiveDeviceT
IText INDI::LightBoxInterface::ActiveDeviceT[1] {} |
|
protected |
◆ ActiveDeviceTP
◆ FilterIntensityN
INumber* INDI::LightBoxInterface::FilterIntensityN |
|
protected |
◆ FilterIntensityNP
◆ LightIntensityN
INumber INDI::LightBoxInterface::LightIntensityN[1] |
|
protected |
◆ LightIntensityNP
◆ LightS
ISwitch INDI::LightBoxInterface::LightS[2] |
|
protected |
◆ LightSP
The documentation for this class was generated from the following files: