CARMA C++
ArrayConfig.h
Go to the documentation of this file.
1 
2 // $Id: ArrayConfig.h,v 1.1 2010/12/13 21:06:28 eml Exp $
3 
4 #ifndef SZA_UTIL_ARRAYCONFIG_H
5 #define SZA_UTIL_ARRAYCONFIG_H
6 
16 namespace sza {
17  namespace util {
18 
19  class ArrayConfig {
20  public:
21 
25  ArrayConfig();
26 
30  virtual ~ArrayConfig();
31 
32  // I screwed this up -- started as orthogonal bits, then
33  // realized after I'd exceeded 8 bits that I've used it in the
34  // data stream as an 8-bit type. For consistency sake, I'll
35  // keep this as an 8-bit type, and new entries will simply have
36  // to not be orthogonal bits
37 
38  enum Type {
39  UNKNOWN = 0x0,
40  NOCARMA = 0x1, // No CARMA array
41  A = 0x2, // CARMA A-array
42  B = 0x4, // CARMA B-array
43  BO = B+1,
44  C = 0x8, // CARMA C-array
45  CO = C+1,
46  D = 0x10, // CARMA D-array
47  DO = D+1,
48  E = 0x20, // CARMA E-array
49  I = 0x40, // SZA I-array
50  L = I+1, // SZA lowdec-array
51  H = I+2, // SZA highec-array
52  BP = I+3, // SZA B-array paired-antenna configuration
53  AP = I+4, // SZA A-array paired-antenna configuration
54  };
55 
56  private:
57  }; // End class ArrayConfig
58 
59  } // End namespace util
60 } // End namespace sza
61 
62 
63 
64 #endif // End #ifndef SZA_UTIL_ARRAYCONFIG_H