CARMA C++
PmacMode.h
Go to the documentation of this file.
1 #ifndef PMACMODE_H
2 #define PMACMODE_H
3 
12 namespace sza {
13  namespace util {
14 
18  class PmacMode {
19 
20  public:
24  enum Mode {
25 
26  // Follow 1-second tracking targets
27 
28  TRACK,
29 
30  // Slew the telescope to a given position then stop
31 
32  SLEW,
33 
34  // Bring the telesope to a stop ASAP
35 
36  HALT,
37 
38  // Start a new track when a pulse is received from the
39  // time-code reader.
40 
41  SYNC,
42 
43  // Tell the pmac to reboot itself
44 
45  REBOOT,
46 
47  // New default is always to track
48 
49  DEFAULT = TRACK
50  };
51 
52  }; // End class PmacMode
53 
54  }; // End namespace util
55 }; // End namespace sza
56 
57 #endif // End #ifndef
Mode
Enumerate the pmac control modes.
Definition: PmacMode.h:24
Class to define valid Pmac command modes.
Definition: PmacMode.h:18