#include <indilightboxinterface.h>
|
| | LightBoxInterface (DefaultDevice *device) |
| |
| virtual | ~LightBoxInterface () |
| |
| void | initProperties (const char *group, uint32_t capabilities) |
| | Initialize light box properties. It is recommended to call this function within initProperties() of your primary device.
|
| |
| void | ISGetProperties (const char *deviceName) |
| | isGetLightBoxProperties Get light box properties
|
| |
| bool | processSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| | Process light box switch properties.
|
| |
| bool | processNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| | Process light box number properties.
|
| |
| bool | processText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| | Process light box text properties.
|
| |
| bool | updateProperties () |
| |
| bool | saveConfigItems (FILE *fp) |
| |
| bool | snoop (XMLEle *root) |
| |
| virtual bool | SetLightBoxBrightness (uint16_t value) |
| | setBrightness Set light level. Must be implemented in the child class, if supported.
|
| |
| virtual bool | EnableLightBox (bool enable) |
| | EnableLightBox Turn on/off on a light box. Must be implemented in the child class.
|
| |
Definition at line 53 of file indilightboxinterface.h.
◆ anonymous enum
◆ anonymous enum
◆ LightBoxInterface()
◆ ~LightBoxInterface()
| LightBoxInterface::~LightBoxInterface |
( |
| ) |
|
|
protectedvirtual |
◆ EnableLightBox()
| bool LightBoxInterface::EnableLightBox |
( |
bool |
enable | ) |
|
|
protectedvirtual |
EnableLightBox Turn on/off on a light box. Must be implemented 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 DeepSkyDadFP, DragonLIGHT, Excalibur, FlipFlat, GeminiFlatpanel, GIOTTO, LightPanelSimulator, PegasusFlatMaster, PegasusFlatMasterNeo, PegasusFlatMasterWifi, SnapCap, WandererCover, WandererCoverV4EC, and WandererCoverV4ProEC.
Definition at line 227 of file indilightboxinterface.cpp.
◆ initProperties()
| void LightBoxInterface::initProperties |
( |
const char * |
group, |
|
|
uint32_t |
capabilities |
|
) |
| |
|
protected |
Initialize light box properties. It is recommended to call this function within initProperties() of your primary device.
- Parameters
-
| group | Group or tab name to be used to define light box properties. |
| capabilities | Light box capabilities |
Definition at line 47 of file indilightboxinterface.cpp.
◆ ISGetProperties()
| void LightBoxInterface::ISGetProperties |
( |
const char * |
deviceName | ) |
|
|
protected |
isGetLightBoxProperties Get light box properties
- Parameters
-
| deviceName | parent device name |
Definition at line 78 of file indilightboxinterface.cpp.
◆ processNumber()
| bool LightBoxInterface::processNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ processSwitch()
| bool LightBoxInterface::processSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ processText()
| bool LightBoxInterface::processText |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
char * |
texts[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ saveConfigItems()
| bool LightBoxInterface::saveConfigItems |
( |
FILE * |
fp | ) |
|
|
protected |
◆ SetLightBoxBrightness()
| bool LightBoxInterface::SetLightBoxBrightness |
( |
uint16_t |
value | ) |
|
|
protectedvirtual |
setBrightness Set light level. Must be implemented in the child class, if supported.
- Parameters
-
- Returns
- True if successful, false otherwise.
Reimplemented in DeepSkyDadFP, DragonLIGHT, Excalibur, FlipFlat, GeminiFlatpanel, GIOTTO, LightPanelSimulator, PegasusFlatMaster, PegasusFlatMasterNeo, PegasusFlatMasterWifi, SnapCap, WandererCover, WandererCoverV4EC, and WandererCoverV4ProEC.
Definition at line 237 of file indilightboxinterface.cpp.
◆ snoop()
| bool LightBoxInterface::snoop |
( |
XMLEle * |
root | ) |
|
|
protected |
◆ updateProperties()
| bool LightBoxInterface::updateProperties |
( |
| ) |
|
|
protected |
◆ ActiveDeviceTP
◆ FilterIntensityNP
◆ []
| enum { ... } INDI::LightBoxInterface::LightBoxCapability |
◆ LightIntensityNP
◆ LightSP
The documentation for this class was generated from the following files: