kstars
lx200_16.h
Go to the documentation of this file.00001 #ifndef LX200_16_H
00002 #define LX200_16_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "lx200autostar.h"
00025
00026 class LX200_16 : public LX200Autostar
00027 {
00028 public:
00029 LX200_16();
00030 ~LX200_16() {}
00031
00032 void ISGetProperties (const char *dev);
00033 void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n);
00034 void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n);
00035 void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n);
00036 void ISPoll ();
00037 void getBasicData();
00038 void handleAltAzSlew();
00039
00040 private:
00041
00042 double currentAlt;
00043 double currentAz;
00044 double targetAlt;
00045 double targetAz;
00046
00047 };
00048
00049 void changeLX200_16DeviceName(const char * newName);
00050
00051 #endif
00052
00053