TwiceAsNice
2019-02-18
|
#include <memory>
#include <time.h>
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
#include "config.h"
#include "indidevapi.h"
#include "eventloop.h"
#include "generic_ccd.h"
Macros | |
#define | MAX_CCD_TEMP 45 /* Max CCD temperature */ |
#define | MIN_CCD_TEMP -55 /* Min CCD temperature */ |
#define | MAX_X_BIN 16 /* Max Horizontal binning */ |
#define | MAX_Y_BIN 16 /* Max Vertical binning */ |
#define | MAX_PIXELS 4096 /* Max number of pixels in one dimension */ |
#define | TEMP_THRESHOLD .25 /* Differential temperature threshold (C)*/ |
#define | MAX_DEVICES 20 /* Max device cameraCount */ |
Functions | |
static void | cleanup () |
void | ISInit () |
Send client definitions of all properties. More... | |
void | ISGetProperties (const char *dev) |
Get Device Properties. More... | |
void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int num) |
Update the value of an existing switch vector property. More... | |
void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int num) |
Update the value of an existing text vector property. More... | |
void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int num) |
void | ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
Update data of an existing blob vector property. More... | |
void | ISSnoopDevice (XMLEle *root) |
Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More... | |
Variables | |
static int | cameraCount |
static GenericCCD * | cameras [MAX_DEVICES] |
struct { | |
int vid | |
int pid | |
const char * name | |
} | deviceTypes [] = { { 0x0001, 0x0001, "Model 1" }, { 0x0001, 0x0002, "Model 2" }, { 0, 0, nullptr } } |
#define MAX_CCD_TEMP 45 /* Max CCD temperature */ |
#define MAX_DEVICES 20 /* Max device cameraCount */ |
#define MAX_PIXELS 4096 /* Max number of pixels in one dimension */ |
#define MAX_X_BIN 16 /* Max Horizontal binning */ |
#define MAX_Y_BIN 16 /* Max Vertical binning */ |
#define MIN_CCD_TEMP -55 /* Min CCD temperature */ |
#define TEMP_THRESHOLD .25 /* Differential temperature threshold (C)*/ |
|
static |
void ISInit | ( | void | ) |
Send client definitions of all properties.
|
static |
|
static |
struct { ... } deviceTypes[] |
const char* name |
int pid |
int vid |