TwiceAsNice  2019-02-18
Macros | Functions
qsi_ccd.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <math.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <zlib.h>
#include <memory>
#include <fitsio.h>
#include "qsiapi.h"
#include "QSIError.h"
#include "indidevapi.h"
#include "eventloop.h"
#include "indicom.h"
#include "qsi_ccd.h"
#include "config.h"
Include dependency graph for qsi_ccd.cpp:

Macros

#define FILTER_WHEEL_TAB   "Filter Wheel"
 
#define TEMP_THRESHOLD   .25 /* Differential temperature threshold (C)*/
 
#define NFLUSHES   1 /* Number of times a CCD array is flushed before an exposure */
 
#define currentFilter   FilterN[0].value
 

Functions

void ISInit (void)
 Send client definitions of all properties. More...
 
void ISPoll (void *)
 Used to read periodically the data from the device. More...
 
double min (void)
 
double max (void)
 
std::unique_ptr< QSICCDqsiCCD (new QSICCD())
 
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...
 

Macro Definition Documentation

◆ currentFilter

#define currentFilter   FilterN[0].value

◆ FILTER_WHEEL_TAB

#define FILTER_WHEEL_TAB   "Filter Wheel"

◆ NFLUSHES

#define NFLUSHES   1 /* Number of times a CCD array is flushed before an exposure */

◆ TEMP_THRESHOLD

#define TEMP_THRESHOLD   .25 /* Differential temperature threshold (C)*/

Function Documentation

◆ ISInit()

void ISInit ( void  )

Send client definitions of all properties.

◆ ISNewNumber()

void ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  num 
)

◆ ISPoll()

void ISPoll ( void *  )

Used to read periodically the data from the device.

Parameters
pthe AAGCloudWatcher object

◆ max()

double max ( void  )

◆ min()

double min ( void  )

◆ qsiCCD()

std::unique_ptr<QSICCD> qsiCCD ( new   QSICCD())