Instrument Neutral Distributed Interface INDI  2.0.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
}
const char * mydev
Definition: ieq45.cpp:41
#define NARRAY(a)
Handy macro to find the number of elements in array a[]. Must be used with actual array,...
Definition: indiapi.h:500
@ IP_RW
Definition: indiapi.h:186
@ IPS_IDLE
Definition: indiapi.h:161
@ ISR_1OFMANY
Definition: indiapi.h:173
#define COMM_GROUP
Definition: magellan1.cpp:33

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 77 of file magellan1.cpp.

◆ EquatorialCoordsRNP

INumberVectorProperty EquatorialCoordsRNP
Initial value:
=
{
mydev, "EQUATORIAL_EOD_COORD", "Equatorial JNow", BASIC_GROUP, IP_RO, 120,
}
@ IP_RO
Definition: indiapi.h:184
INumber EquatorialCoordsRN[]
Definition: magellan1.cpp:77
#define BASIC_GROUP
Definition: magellan1.cpp:34

Definition at line 80 of file magellan1.cpp.

◆ me

char* me
extern

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 65 of file magellan1.cpp.