CARMA C++
stringConstants.h
1 #ifndef CARMA_SERVICES_STRINGCONSTANTS_H
2 #define CARMA_SERVICES_STRINGCONSTANTS_H
3 #include <string>
4 
5 namespace carma {
6  namespace services {
7  static const std::string CARMA_OBSERVATORY = "carma";
8  static const std::string MAINTENANCE = "MAINTENANCE";
9  static const std::string NO_CATALOG = "NONE";
10  static const std::string NO_PROJECT = "NONE";
11  static const std::string NO_SOURCE = "NONE";
12  static const std::string REFERENCE = "reference";
13  static const std::string STANDBY = "STANDBY";
14  static const std::string TRANSMITTER = "trans";
15  static const std::string UNKNOWN = "UNKNOWN";
16  static const std::string WEATHER = "WEATHER";
17  // various units for use with CQs
18  // eventually i should get rid of Angle:: static const strings
19  static const std::string DEGREES = "degrees";
20  static const std::string RADIANS = "radians";
21  static const std::string KMS = "km/s";
22  static const std::string ARCSEC = "arcseconds";
23  static const std::string ARCMIN = "arcminutes";
24  static const std::string MPH = "miles/hour";
25  static const std::string GHZ = "GHz";
26  // Believe it or not there is a low level macro in linux which defines HZ
27  // and when using TAO, it can get replaced here with it's value. To
28  // avoid this, I undefine and then redefine it.
29  #ifdef HZ
30  #define SYSHZ HZ
31  #undef HZ
32  #endif
33  static const std::string HZ = "Hz";
34  #ifdef SYSHZ
35  #define HZ SYSHZ
36  #endif
37  }
38 }
39 
40 #endif // CARMA_SERVICES_STRINGCONSTANTS_H