My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
genericregs.h
1 #ifndef genericregs_h
2 #define genericregs_h
3 
4 #include "arraymap.h"
5 
9 enum {SRC_LEN=30};
10 
11 enum {SCAN_LEN=30};
12 
13 // Enumerate the available deck-axis tracking modes.
14 
15 typedef enum {
16  DECK_TRACK, // Maintain the deck angle at the current
17  // deck-axis tracking offset plus the parallactic
18  // angle of the source.
19  DECK_ZERO // Set the deck angle equal to the current
20  // deck-axis tracking offset.
21 } DeckMode;
22 
23 /*
24  * Enumerate reconized scan modes.
25  */
26 typedef enum {
27  SCAN_INACTIVE = 0x0,
28  SCAN_ACTIVE = 0x1,
29  SCAN_START = 0x2,
30  SCAN_BODY = 0x4,
31  SCAN_END = 0x8,
32 } ScanMode;
33 
34 RegMap *new_AntRegMap(void);
35 long net_AntRegMap_size(void);
36 int net_put_AntRegMap(gcp::control::NetBuf *net);
37 RegMap *new_ArrayRegMap(void);
38 long net_ArrayRegMap_size(void);
39 int net_put_ArrayRegMap(gcp::control::NetBuf *net);
40 
41 ArrayMap *new_ArrayMap(void);
42 long net_ArrayMap_size(void);
43 int net_put_ArrayMap(gcp::control::NetBuf *net);
44 
45 void documentArrayMap();
46 
47 #endif
Definition: netbuf.h:42
Definition: arraymap.h:177