kstars
apmount.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 "apmount.h"

Go to the source code of this file.
Defines | |
#define | BASIC_GROUP "Main Control" |
#define | COMM_GROUP "Communication" |
#define | currentDEC EqN[1].value |
#define | currentRA EqN[0].value |
#define | DEC_THRESHOLD 0.05 |
#define | FOCUS_GROUP "Focus Control" |
#define | LX200_PARK 3 |
#define | LX200_SLEW 0 |
#define | LX200_SYNC 2 |
#define | LX200_TRACK 1 |
#define | MOVE_GROUP "Movement Control" |
#define | mydev "Astro-Physics" |
#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 *) |
static double | timezoneOffset () |
Variables | |
static int | daylight = 0 |
int | MaxReticleFlashRate = 3 |
char * | me |
APMount * | telescope = NULL |
Define Documentation
#define BASIC_GROUP "Main Control" |
Definition at line 78 of file apmount.cpp.
#define COMM_GROUP "Communication" |
Definition at line 77 of file apmount.cpp.
#define currentDEC EqN[1].value |
Definition at line 84 of file apmount.cpp.
#define currentRA EqN[0].value |
Definition at line 83 of file apmount.cpp.
#define DEC_THRESHOLD 0.05 |
Definition at line 87 of file apmount.cpp.
#define FOCUS_GROUP "Focus Control" |
Definition at line 80 of file apmount.cpp.
#define LX200_PARK 3 |
Definition at line 91 of file apmount.cpp.
#define LX200_SLEW 0 |
Definition at line 88 of file apmount.cpp.
#define LX200_SYNC 2 |
Definition at line 90 of file apmount.cpp.
#define LX200_TRACK 1 |
Definition at line 89 of file apmount.cpp.
#define MOVE_GROUP "Movement Control" |
Definition at line 79 of file apmount.cpp.
#define mydev "Astro-Physics" |
Definition at line 82 of file apmount.cpp.
#define RA_THRESHOLD 0.01 |
Definition at line 86 of file apmount.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 113 of file apmount.cpp.
void ISInit | ( | ) |
Definition at line 100 of file apmount.cpp.
void ISNewBLOB | ( | const char * | , | |
const char * | , | |||
int * | , | |||
char ** | , | |||
char ** | , | |||
char ** | , | |||
int | ||||
) |
Definition at line 143 of file apmount.cpp.
void ISNewNumber | ( | const char * | dev, | |
const char * | name, | |||
double | values[], | |||
char * | names[], | |||
int | n | |||
) |
Definition at line 131 of file apmount.cpp.
void ISPoll | ( | void * | ) | [static] |
Definition at line 137 of file apmount.cpp.
static void retryConnection | ( | void * | p | ) | [static] |
Definition at line 1006 of file apmount.cpp.
static double timezoneOffset | ( | ) | [inline, static] |
Definition at line 46 of file apmount.cpp.
Variable Documentation
int daylight = 0 [static] |
Definition at line 43 of file apmount.cpp.
int MaxReticleFlashRate = 3 |
Definition at line 66 of file apmount.cpp.
char* me |
Definition at line 65 of file apmount.cpp.