CARMA C++
CanModule.h
Go to the documentation of this file.
1 #ifndef CANMODULE_H
2 #define CANMODULE_H
3 
11 #include "carma/szautil/String.h"
12 
13 #define CARMA_LR_API_113
14 #define CARMA_QM_API_66
15 
16 namespace sza {
17  namespace util {
18 
22  class CanModule {
23 
24  public:
25 
26  enum Id {
27  NONE = 0x0,
28  BIAS = 0x1,
29  CALTERT = 0x2,
30  DCON = 0x4,
31  IFMOD = 0x8,
32  INTMOD = 0x10,
33  LOBE_ROTATOR = 0x20,
34  LO_MONITOR = 0x40,
35  NOISE_SOURCE = 0x80,
36  QUAD_MOD = 0x100,
37  RECEIVER = 0x200,
38  THERMAL = 0x400,
39  TILTMETER = 0x800,
40  VARACTOR = 0x1000,
41  YIG = 0x2000,
42  ALL = BIAS | CALTERT | DCON | IFMOD | INTMOD | LO_MONITOR | LOBE_ROTATOR | NOISE_SOURCE | QUAD_MOD | RECEIVER | THERMAL | TILTMETER | VARACTOR | YIG,
43  HARD = 0x4000 // Not a real module -- used to indicate a hardware reset
44  } id_;
45 
46  static const short biasApiNo_;
47  static const short caltertApiNo_;
48  static const short dconApiNo_;
49  static const short ifmodApiNo_;
50  static const short intmodApiNo_;
51  static const short loMonitorApiNo_;
52  static const short lobeRotatorApiNo_;
53  static const short noiseSourceApiNo_;
54  static const short quadModApiNo_;
55  static const short receiverApiNo_;
56  static const short thermalApiNo_;
57  static const short tiltMeterApiNo_;
58  static const short varactorApiNo_;
59  static const short yigApiNo_;
60 
61  static String biasApiStr_;
62  static String caltertApiStr_;
63  static String ifmodApiStr_;
64  static String intmodApiStr_;
65  static String loMonitorApiStr_;
66  static String lobeRotatorApiStr_;
67  static String noiseSourceApiStr_;
68  static String quadModApiStr_;
69  static String receiverApiStr_;
70  static String thermalApiStr_;
71  static String tiltMeterApiStr_;
72  static String varactorApiStr_;
73  static String yigApiStr_;
74 
75  }; // End class CanModule
76 
77  }; // End namespace util
78 }; // End namespace sza
79 
80 #endif // End #ifndef
81 
A class for enumerating recognized CAN modules.
Definition: CanModule.h:22
Tagged: Wed May 12 09:30:13 PDT 2004.