void ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int num) { ISInit(); for (int i = 0; i < cameraCount; i++) { FishCampCCD *camera = cameras[i]; if (dev == nullptr || !strcmp(dev, camera->name)) { camera->ISNewSwitch(dev, name, states, names, num); if (dev != nullptr) break; } } //This turns the LibFishcamp fcusb logging on and off along with the INDI Fishcamp file logging. if (!strcmp(name, "LOG_OUTPUT")) { if(INDI::Logger::ConfigurationS[1].s == ISS_ON) { fcUsb_setLogging(true); IDLog("Setting Starfish Driver File Log On\n"); } else { fcUsb_setLogging(false); IDLog("Setting Starfish Driver File Log Off\n"); } } }
void ISGetProperties(const char *dev) { ISInit(); if (dev == nullptr || !strcmp(dev, receiver->getDeviceName())) { receiver->ISGetProperties(dev); } }
void ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int num) { ISInit(); if (dev == nullptr || !strcmp(dev, receiver->getDeviceName())) { receiver->ISNewSwitch(dev, name, states, names, num); } }
void ISNewText(const char *dev, const char *name, char *texts[], char *names[], int num) { ISInit(); if (dev == nullptr || !strcmp(dev, receiver->getDeviceName())) { receiver->ISNewText(dev, name, texts, names, num); } }
void ISNewNumber(const char *dev, const char *name, double values[], char *names[], int num) { ISInit(); if (dev == nullptr || !strcmp(dev, receiver->getDeviceName())) { receiver->ISNewNumber(dev, name, values, names, num); } }
void ISSnoopDevice(XMLEle *root) { ISInit(); for (int i = 0; i < cameraCount; i++) { MICCD *camera = cameras[i]; camera->ISSnoopDevice(root); } }
void ISSnoopDevice(XMLEle *root) { ISInit(); for (int i = 0; i < iNumofConnectCameras; i++) { ASICCD *camera = cameras[i]; camera->ISSnoopDevice(root); } }
void ISNewText(const char *dev, const char *name, char *texts[], char *names[], int num) { ISInit(); for (int i = 0; i < cameraCount; i++) { GPhotoCCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISNewText(dev, name, texts, names, num); if (dev != NULL) break; } } }
void ISGetProperties(const char *dev) { ISInit(); for (int i = 0; i < cameraCount; i++) { GPhotoCCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISGetProperties(dev); if (dev != NULL) break; } } }
void ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int num) { ISInit(); for (int i = 0; i < cameraCount; i++) { GPhotoCCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISNewSwitch(dev, name, states, names, num); if (dev != NULL) break; } } }
void ISNewNumber(const char *dev, const char *name, double values[], char *names[], int num) { ISInit(); for (int i = 0; i < cameraCount; i++) { GPhotoCCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISNewNumber(dev, name, values, names, num); if (dev != NULL) break; } } }
void ISGetProperties(const char *dev) { ISInit(); for (int i = 0; i < iNumofConnectCameras; i++) { ASICCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISGetProperties(dev); if (dev != NULL) break; } } }
void ISNewText(const char *dev, const char *name, char *texts[], char *names[], int num) { ISInit(); for (int i = 0; i < cameraCount; i++) { FishCampCCD *camera = cameras[i]; if (dev == nullptr || !strcmp(dev, camera->name)) { camera->ISNewText(dev, name, texts, names, num); if (dev != nullptr) break; } } }
void ISNewText(const char *dev, const char *name, char *texts[], char *names[], int num) { ISInit(); for (int i = 0; i < iNumofConnectCameras; i++) { ASICCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISNewText(dev, name, texts, names, num); if (dev != NULL) break; } } }
void ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int num) { ISInit(); for (int i = 0; i < iNumofConnectCameras; i++) { ASICCD *camera = cameras[i]; if (dev == NULL || !strcmp(dev, camera->name)) { camera->ISNewSwitch(dev, name, states, names, num); if (dev != NULL) break; } } }
void ISGetProperties(const char *dev) { ISInit(); if (cameraCount == 0) { IDMessage(nullptr, "No Moravian cameras detected. Power on?"); return; } for (int i = 0; i < cameraCount; i++) { MICCD *camera = cameras[i]; if (!dev || !strcmp(dev, camera->name)) { camera->ISGetProperties(dev); if (dev) break; } } }
void ISGetProperties(const char *dev) { ISInit(); if (cameraCount == 0) { IDLog("Unable to find Fishcamp CCD. Power OK? Please check the log file under ~/.indi for more details.\n"); return; } for (int i = 0; i < cameraCount; i++) { FishCampCCD *camera = cameras[i]; if (dev == nullptr || !strcmp(dev, camera->name)) { camera->ISGetProperties(dev); if (dev != nullptr) break; } } }
/************************************************************************************** ** Process new switch from client ***************************************************************************************/ void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) { ISInit(); simpleScope->ISNewSwitch(dev, name, states, names, n); }
/************************************************************************************** ** Process new text from client ***************************************************************************************/ void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) { ISInit(); simpleScope->ISNewText(dev, name, texts, names, n); }
/************************************************************************************** ** Process new number from client ***************************************************************************************/ void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) { ISInit(); simpleScope->ISNewNumber(dev, name, values, names, n); }
/************************************************************************************** ** Process new blob from client ***************************************************************************************/ void ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) { ISInit(); simpleScope->ISNewBLOB(dev, name, sizes, blobsizes, blobs, formats, names, n); }
void ISGetProperties(const char *dev) { ISInit(); indiRpialtimu->ISGetProperties(dev); }
void ISNewSwitch(const char *dev, const char *name, ISState *states, char *names[], int num) { ISInit(); indiRpialtimu->ISNewSwitch(dev, name, states, names, num); }
void ISNewText( const char *dev, const char *name, char *texts[], char *names[], int num) { ISInit(); indiRpialtimu->ISNewText(dev, name, texts, names, num); }
void ISNewNumber(const char *dev, const char *name, double values[], char *names[], int num) { ISInit(); indiRpialtimu->ISNewNumber(dev, name, values, names, num); }
void ISSnoopDevice (XMLEle *root) { ISInit(); ccdsim->ISSnoopDevice(root); }
/************************************************************************************** ** Return properties of device. ***************************************************************************************/ void ISGetProperties (const char *dev) { ISInit(); simpleScope->ISGetProperties(dev); }
void ISSnoopDevice(XMLEle *root) { ISInit(); receiver->ISSnoopDevice(root); }
void ISNewNumber(const char *dev, const char *name, double values[], char *names[], int num) { ISInit(); ccdsim->ISNewNumber(dev, name, values, names, num); }
void ISSnoopDevice (XMLEle *root) { ISInit(); indiRpialtimu->ISSnoopDevice(root); }