TwiceAsNice
2019-02-18
|
#include "integra.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <cmath>
#include <cstring>
#include <memory>
#include <termios.h>
Classes | |
struct | COMMANDDESC |
Macros | |
#define | INTEGRA_TIMEOUT_IN_S 5 |
#define | INTEGRA_TEMPERATURE_LOOP_SKIPS 60 |
#define | INTEGRA_TEMPERATURE_TRESHOLD_IN_C 0.1 |
#define | INTEGRA_ROUNDING_FUDGE 0.001 |
#define | ROTATOR_TAB "Rotator" |
#define | SETTINGS_TAB "Settings" |
Enumerations | |
enum | { stop_motor, calibrate, calibrate_interrupt, calibration_state, get_temperature, set_motstep, get_motstep, move_mot_in, move_mot_out, get_motrange, is_moving, invert_dir, EEPROMwrite } |
Functions | |
std::unique_ptr< Integra > | integra (new Integra()) |
void | ISGetProperties (const char *dev) |
Get Device Properties. More... | |
void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
Update the value of an existing switch vector property. More... | |
void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
Update the value of an existing text vector property. More... | |
void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
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... | |
Variables | |
static const COMMANDDESC | IntegraProtocol [] |
#define INTEGRA_ROUNDING_FUDGE 0.001 |
#define INTEGRA_TEMPERATURE_LOOP_SKIPS 60 |
#define INTEGRA_TEMPERATURE_TRESHOLD_IN_C 0.1 |
#define INTEGRA_TIMEOUT_IN_S 5 |
#define ROTATOR_TAB "Rotator" |
#define SETTINGS_TAB "Settings" |
anonymous enum |
std::unique_ptr<Integra> integra | ( | new | Integra() | ) |
|
static |