Linuxpops
3.01.04
Spectral Anaysis Package for Single Dish Data
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
commands.h
Go to the documentation of this file.
1
#ifndef COMMANDS_H
2
#define COMMANDS_H
3
4
struct
COMMANDS
{
5
char
*
cmd
;
/* Command */
6
int
ntoken
;
/* Expected number of tokens/args */
7
char
*
args
;
/* Help string showing possible args */
8
int (*
fctn
)();
/* Function to execute */
9
char
*
fctnStr
;
/* Function String */
10
int
mode
;
/* SPEC, CONT. ALL */
11
char
*
help
;
/* Help string */
12
int (*
post
)();
/* Function to execute after command is executed */
13
};
14
15
16
struct
CALIBRATOR
{
17
char
date
[80];
18
int
band
;
19
double
ra
;
20
double
dec
;
21
double
jk
;
22
double
errBar
;
23
double
freq
;
24
char
name
[128];
25
};
26
27
#define MAX_DYN_VARS 2048
28
29
#define DYN_TYPE_UNUSED 0
30
#define DYN_TYPE_INT 1
31
#define DYN_TYPE_DOUBLE 2
32
33
/* The number of protected dynamic variables at the top of the stack */
34
#define DYN_VARIBLE_PROTECTED 6
35
36
struct
DYNAMIC_VARIABLES
{
37
char
name
[80];
38
double
*
dval
;
39
int
*
ival
;
40
int
type
;
41
int (*
fctn
)();
42
};
43
44
45
#endif
COMMANDS::args
char * args
Definition:
commands.h:7
DYNAMIC_VARIABLES::ival
int * ival
Definition:
commands.h:39
COMMANDS::cmd
char * cmd
Definition:
commands.h:5
CALIBRATOR::name
char name[128]
Definition:
commands.h:24
COMMANDS::ntoken
int ntoken
Definition:
commands.h:6
DYNAMIC_VARIABLES::name
char name[80]
Definition:
commands.h:37
DYNAMIC_VARIABLES::dval
double * dval
Definition:
commands.h:38
COMMANDS::help
char * help
Definition:
commands.h:11
CALIBRATOR::freq
double freq
Definition:
commands.h:23
CALIBRATOR::errBar
double errBar
Definition:
commands.h:22
CALIBRATOR
Definition:
commands.h:16
DYNAMIC_VARIABLES::fctn
int(* fctn)()
Definition:
commands.h:41
COMMANDS::mode
int mode
Definition:
commands.h:10
COMMANDS::fctn
int(* fctn)()
Definition:
commands.h:8
CALIBRATOR::jk
double jk
Definition:
commands.h:21
DYNAMIC_VARIABLES::type
int type
Definition:
commands.h:40
COMMANDS::fctnStr
char * fctnStr
Definition:
commands.h:9
COMMANDS::post
int(* post)()
Definition:
commands.h:12
CALIBRATOR::band
int band
Definition:
commands.h:18
CALIBRATOR::ra
double ra
Definition:
commands.h:19
COMMANDS
Definition:
commands.h:4
CALIBRATOR::dec
double dec
Definition:
commands.h:20
CALIBRATOR::date
char date[80]
Definition:
commands.h:17
DYNAMIC_VARIABLES
Definition:
commands.h:36
include
commands.h
Generated on Mon Feb 21 2022 20:37:01 for Linuxpops by
1.8.5