kstars
lx200basic.cpp File Reference
#include "config.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdarg.h>#include <math.h>#include <unistd.h>#include <time.h>#include "indicom.h"#include "lx200driver.h"#include "lx200basic.h"

Go to the source code of this file.
Defines | |
| #define | BASIC_GROUP "Main Control" |
| #define | currentDEC EqN[1].value |
| #define | currentRA EqN[0].value |
| #define | DEC_THRESHOLD 0.05 |
| #define | LX200_PARK 3 |
| #define | LX200_SLEW 0 |
| #define | LX200_SYNC 2 |
| #define | LX200_TRACK 1 |
| #define | RA_THRESHOLD 0.01 |
Functions | |
| void | ISGetProperties (const char *dev) |
| void | ISInit () |
| void | ISNewBLOB (const char *, const char *, int *, char **, char **, char **, int) |
| void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| static void | ISPoll (void *) |
| static void | retryConnection (void *) |
Variables | |
| char * | me |
| LX200Basic * | telescope = NULL |
Define Documentation
| #define BASIC_GROUP "Main Control" |
Definition at line 45 of file lx200basic.cpp.
| #define currentDEC EqN[1].value |
Definition at line 48 of file lx200basic.cpp.
| #define currentRA EqN[0].value |
Definition at line 47 of file lx200basic.cpp.
| #define DEC_THRESHOLD 0.05 |
Definition at line 51 of file lx200basic.cpp.
| #define LX200_PARK 3 |
Definition at line 55 of file lx200basic.cpp.
| #define LX200_SLEW 0 |
Definition at line 52 of file lx200basic.cpp.
| #define LX200_SYNC 2 |
Definition at line 54 of file lx200basic.cpp.
| #define LX200_TRACK 1 |
Definition at line 53 of file lx200basic.cpp.
| #define RA_THRESHOLD 0.01 |
Definition at line 50 of file lx200basic.cpp.
Function Documentation
| void ISGetProperties | ( | const char * | dev | ) |
Function defined by Drivers that is called when a Client asks for the definitions of all Properties this Driver supports for the given device.
- Parameters:
-
dev the name of the device.
Definition at line 77 of file lx200basic.cpp.
| void ISInit | ( | ) |
Definition at line 64 of file lx200basic.cpp.
| void ISNewBLOB | ( | const char * | , | |
| const char * | , | |||
| int * | , | |||
| char ** | , | |||
| char ** | , | |||
| char ** | , | |||
| int | ||||
| ) |
Definition at line 107 of file lx200basic.cpp.
| void ISNewNumber | ( | const char * | dev, | |
| const char * | name, | |||
| double | values[], | |||
| char * | names[], | |||
| int | n | |||
| ) |
Definition at line 95 of file lx200basic.cpp.
| void ISPoll | ( | void * | ) | [static] |
Definition at line 101 of file lx200basic.cpp.
| static void retryConnection | ( | void * | p | ) | [static] |
Definition at line 458 of file lx200basic.cpp.
Variable Documentation
| char* me |
| LX200Basic* telescope = NULL |
Definition at line 42 of file lx200basic.cpp.
KDE 3.5 API Reference