Instrument Neutral Distributed Interface INDI  2.0.2
Macros | Enumerations
telescope_script.cpp File Reference
#include "telescope_script.h"
#include <cstring>
#include <memory>
#include <unistd.h>
#include <sys/wait.h>
#include <errno.h>

Go to the source code of this file.

Macros

#define MAXARGS   20
 

Enumerations

enum  scripts {
  SCRIPT_FOLDER = 0 , SCRIPT_CONNECT , SCRIPT_DISCONNECT , SCRIPT_STATUS ,
  SCRIPT_OPEN , SCRIPT_CLOSE , SCRIPT_PARK , SCRIPT_UNPARK ,
  SCRIPT_GOTO , SCRIPT_MOVE_CW , SCRIPT_MOVE_CCW , SCRIPT_ABORT ,
  SCRIPT_COUNT , SCRIPT_CONNECT = 1 , SCRIPT_DISCONNECT , SCRIPT_STATUS ,
  SCRIPT_GOTO , SCRIPT_SYNC , SCRIPT_PARK , SCRIPT_UNPARK ,
  SCRIPT_MOVE_NORTH , SCRIPT_MOVE_EAST , SCRIPT_MOVE_SOUTH , SCRIPT_MOVE_WEST ,
  SCRIPT_ABORT , SCRIPT_COUNT
}
 

Macro Definition Documentation

◆ MAXARGS

#define MAXARGS   20

Definition at line 28 of file telescope_script.cpp.

Enumeration Type Documentation

◆ scripts

enum scripts
Enumerator
SCRIPT_FOLDER 
SCRIPT_CONNECT 
SCRIPT_DISCONNECT 
SCRIPT_STATUS 
SCRIPT_OPEN 
SCRIPT_CLOSE 
SCRIPT_PARK 
SCRIPT_UNPARK 
SCRIPT_GOTO 
SCRIPT_MOVE_CW 
SCRIPT_MOVE_CCW 
SCRIPT_ABORT 
SCRIPT_COUNT 
SCRIPT_CONNECT 
SCRIPT_DISCONNECT 
SCRIPT_STATUS 
SCRIPT_GOTO 
SCRIPT_SYNC 
SCRIPT_PARK 
SCRIPT_UNPARK 
SCRIPT_MOVE_NORTH 
SCRIPT_MOVE_EAST 
SCRIPT_MOVE_SOUTH 
SCRIPT_MOVE_WEST 
SCRIPT_ABORT 
SCRIPT_COUNT 

Definition at line 30 of file telescope_script.cpp.