TwiceAsNice  2019-02-18
Macros | Functions | Variables
sxccd.cpp File Reference
#include "sxccd.h"
#include "sxconfig.h"
#include <cmath>
#include <unistd.h>
Include dependency graph for sxccd.cpp:

Macros

#define SX_GUIDE_EAST   0x08 /* RA+ */
 
#define SX_GUIDE_NORTH   0x04 /* DEC+ */
 
#define SX_GUIDE_SOUTH   0x02 /* DEC- */
 
#define SX_GUIDE_WEST   0x01 /* RA- */
 
#define SX_CLEAR_NS   0x09
 
#define SX_CLEAR_WE   0x06
 
#define TIMER   1000
 

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...
 
void ExposureTimerCallback (void *p)
 
void GuideExposureTimerCallback (void *p)
 
void WEGuiderTimerCallback (void *p)
 
void NSGuiderTimerCallback (void *p)
 

Variables

static int count = 0
 
static SXCCDcameras [20]
 

Macro Definition Documentation

◆ SX_CLEAR_NS

#define SX_CLEAR_NS   0x09

◆ SX_CLEAR_WE

#define SX_CLEAR_WE   0x06

◆ SX_GUIDE_EAST

#define SX_GUIDE_EAST   0x08 /* RA+ */

◆ SX_GUIDE_NORTH

#define SX_GUIDE_NORTH   0x04 /* DEC+ */

◆ SX_GUIDE_SOUTH

#define SX_GUIDE_SOUTH   0x02 /* DEC- */

◆ SX_GUIDE_WEST

#define SX_GUIDE_WEST   0x01 /* RA- */

◆ TIMER

#define TIMER   1000

Function Documentation

◆ cleanup()

static void cleanup ( )
static

◆ ExposureTimerCallback()

void ExposureTimerCallback ( void *  p)

◆ GuideExposureTimerCallback()

void GuideExposureTimerCallback ( void *  p)

◆ 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 
)

◆ NSGuiderTimerCallback()

void NSGuiderTimerCallback ( void *  p)

◆ WEGuiderTimerCallback()

void WEGuiderTimerCallback ( void *  p)

Variable Documentation

◆ cameras

SXCCD* cameras[20]
static

◆ count

int count = 0
static