Instrument Neutral Distributed Interface INDI  1.9.2
Macros | Variables
magellan1.cpp File Reference
#include "magellan1.h"
#include "magellandriver.h"
#include <memory>

Go to the source code of this file.

Macros

#define COMM_GROUP   "Communication"
 
#define BASIC_GROUP   "Position"
 
#define MAGELLAN_TRACK   0
 
#define MAGELLAN_SYNC   1
 
#define currentRA   EquatorialCoordsRN[0].value
 
#define currentDEC   EquatorialCoordsRN[1].value
 

Variables

char * me
 
ISwitchVectorProperty ConnectSP
 
ITextVectorProperty PortTP
 
INumber EquatorialCoordsRN []
 
INumberVectorProperty EquatorialCoordsRNP
 

Macro Definition Documentation

◆ BASIC_GROUP

#define BASIC_GROUP   "Position"

Definition at line 34 of file magellan1.cpp.

◆ COMM_GROUP

#define COMM_GROUP   "Communication"

Definition at line 33 of file magellan1.cpp.

◆ currentDEC

#define currentDEC   EquatorialCoordsRN[1].value

Definition at line 41 of file magellan1.cpp.

◆ currentRA

#define currentRA   EquatorialCoordsRN[0].value

Definition at line 40 of file magellan1.cpp.

◆ MAGELLAN_SYNC

#define MAGELLAN_SYNC   1

Definition at line 37 of file magellan1.cpp.

◆ MAGELLAN_TRACK

#define MAGELLAN_TRACK   0

Definition at line 36 of file magellan1.cpp.

Variable Documentation

◆ ConnectSP

Initial value:
= { mydev, "CONNECTION", "Connection", COMM_GROUP, IP_RW, ISR_1OFMANY,
0, IPS_IDLE, ConnectS, NARRAY(ConnectS), "", 0 }

Definition at line 56 of file magellan1.cpp.

◆ EquatorialCoordsRN

INumber EquatorialCoordsRN[]
Initial value:
= { { "RA", "RA H:M:S", "%10.6m", 0., 24., 0., 0., 0, 0, 0 },
{ "DEC", "Dec D:M:S", "%10.6m", -90., 90., 0., 0., 0, 0, 0 } }

Definition at line 75 of file magellan1.cpp.

◆ EquatorialCoordsRNP

INumberVectorProperty EquatorialCoordsRNP
Initial value:
= {
mydev, "EQUATORIAL_EOD_COORD", "Equatorial JNow", BASIC_GROUP, IP_RO, 120,
}

Definition at line 77 of file magellan1.cpp.

◆ me

char* me

Definition at line 50 of file indidriver.c.

◆ PortTP

Initial value:
= { mydev, "DEVICE_PORT", "Ports", COMM_GROUP, IP_RW, 0,
IPS_IDLE, PortT, NARRAY(PortT), "", 0 }

Definition at line 64 of file magellan1.cpp.

IP_RO
@ IP_RO
Definition: indiapi.h:183
COMM_GROUP
#define COMM_GROUP
Definition: magellan1.cpp:33
BASIC_GROUP
#define BASIC_GROUP
Definition: magellan1.cpp:34
NARRAY
#define NARRAY(a)
Handy macro to find the number of elements in array a[]. Must be used with actual array,...
Definition: indiapi.h:499
EquatorialCoordsRN
INumber EquatorialCoordsRN[]
Definition: magellan1.cpp:75
ISR_1OFMANY
@ ISR_1OFMANY
Definition: indiapi.h:172
IPS_IDLE
@ IPS_IDLE
Definition: indiapi.h:160
IP_RW
@ IP_RW
Definition: indiapi.h:185
mydev
const char * mydev
Definition: ieq45.cpp:41