CARMA C++
Types.h
Go to the documentation of this file.
1 // $Id: Types.h,v 1.17 2013/01/29 14:16:23 teuben Exp $
2 
13 #ifndef CARMA_SERVICES_TYPES_H
14 #define CARMA_SERVICES_TYPES_H
15 
16 #include <iostream>
17 #include <string>
18 #include <map>
19 
20 namespace carma {
21  namespace services {
22 
23  class Pad;
24  class Source;
25  class SpectralLine;
30  typedef enum velocityFrameEnum {
33 
39 
42 
45 
48 
50 
55  typedef enum velocityDefEnum {
60 
65 
70 
77 
79 
84  typedef enum coordSysEnum {
89 
94 
99  } coordSysType;
100 
101 
106  typedef enum sourcePntEnum {
111 
116 
121  } sourcePntType;
122 
127  typedef enum ephemTableEnum {
132 
137 
146 
147  } ephemTableType;
148 
160  typedef enum AntennaCoordinateTypeEnum {
161  ANTCOORD_LLA,
162  ANTCOORD_UEN,
163  ANTCOORD_TOPO_XYZ,
164  ANTCOORD_GEO_XYZ
165  } AntennaCoordinateType;
166 
167 
168 
169  typedef enum TelescopeLimitsTypeEnum {
172 
175 
180 
185 
188  } TelescopeLimitsType;
189 
190  // these enums would allow computation of optimal wrap
191  // completely inside SourceChecker class
192  // instead of split between SourceChecker
193  // and DriveHandle.
194  // But need to make lots of control changes to move
195  // AntennaType from control/antennaHandleUtils to services/Types.h.
196 
200  typedef enum AzWrapTypeEnum {
201  AZWRAP_ADD,
202  AZWRAP_SUB,
203  AZWRAP_ZERO
204  } AzWrapType;
205 
210  typedef enum {
211  ANT_TYPE_BIMA,
212  ANT_TYPE_OVRO,
213  ANT_TYPE_SZA
214  } AntennaType;
215 
221  typedef enum interpolationTypeEnum {
222 
237 
238  } interpolationType;
239 
240 
245  typedef std::string HmsType;
246 
251  typedef std::string DmsType;
252 
256  typedef ::std::map< ::std::string, carma::services::Pad >::const_iterator
261  typedef ::std::map< ::std::string, carma::services::Source >::const_iterator
263 
267  typedef ::std::multimap< ::std::string, carma::services::SpectralLine >::const_iterator SpectralLineIterator;
268 
269  }
270 }
271 
272 #endif //CARMA_SERVICES_TYPES_H
Old style SZA ephem files.
Definition: Types.h:131
Azimuth and Elevation.
Definition: Types.h:98
With respect to the a planet&#39;s barycenter.
Definition: Types.h:47
Non-rounded Akim spline with natural conditions.
Definition: Types.h:234
Right Ascension, Declination.
Definition: Types.h:88
Cubic spline with natural boundary conditions.
Definition: Types.h:230
New style RADEC from horizon.
Definition: Types.h:141
enum carma::services::AzWrapTypeEnum AzWrapType
mirror drive mode wrap types
Galactic longitude, Galactic latitude.
Definition: Types.h:93
Telescope stopped by horizon limit on negative wrap, by azimuth limit on positive wrap...
Definition: Types.h:179
Cubic spline with periodic boundary conditions.
Definition: Types.h:232
::std::multimap< ::std::string, carma::services::SpectralLine >::const_iterator SpectralLineIterator
A const iterator over a map of Spectral Lines.
Definition: Types.h:267
Telescope stopped by horizon limit.
Definition: Types.h:174
Telescope stopped by azimuth limit on positive wrap, no limit on negative wrap.
Definition: Types.h:184
enum carma::services::ephemTableEnum ephemTableType
Ephemeris table type.
Radio definition: nu = nu0(1 - V/c)
Definition: Types.h:59
std::string HmsType
A string of form &quot;hours:minutes:seconds&quot;, i.e., HH:MM:SS(.sss)
Definition: Types.h:245
SpectralLine is derived from CatalogEntry and is used to hold information for a particular entry from...
Definition: SpectralLine.h:21
Relativistic definition: nu = nu0sqrt(1 - (V/c)2) /(1 + V/c)
Definition: Types.h:76
enum carma::services::sourcePntEnum sourcePntType
Can this source be used for RADIO and/or OPTICAL pointing?
Source can be used only for optical pointing.
Definition: Types.h:115
Linear interpolation.
Definition: Types.h:224
Telescope never stopped by a limit.
Definition: Types.h:187
Kinematic local standard of rest.
Definition: Types.h:32
Source can be used only for both radio and optical pointing.
Definition: Types.h:120
AntennaType
Enumeration of possible types for antennas.
Definition: Types.h:210
With respect to the Sun&#39;s barycenter.
Definition: Types.h:44
interpolationTypeEnum
Definition: Types.h:221
New style VECTORS (X,Y,Z,VX,VY,VZ) from Horizon.
Definition: Types.h:136
enum carma::services::velocityDefEnum velocityDefType
The Velocity Definition.
Source can be used only for radio pointing.
Definition: Types.h:110
enum carma::services::coordSysEnum coordSysType
The coordinate systems.
::std::map< ::std::string, carma::services::Pad >::const_iterator PadIterator
A const iterator over a map of Pads.
Definition: Types.h:257
Optical definition: nu = nu0/(1 + z)
Definition: Types.h:69
Non-rounded Akim spline with periodic boundary conditions.
Definition: Types.h:236
With respect to the Solar sytem barycenter.
Definition: Types.h:41
With respect to a point on the earth&#39;s surface, e.g antenna coordinates.
Definition: Types.h:38
enum carma::services::velocityFrameEnum velocityFrameType
The Velocity Frame.
Definition: Types.h:25
TelescopeLimitsTypeEnum
Definition: Types.h:169
std::string DmsType
A string of form &quot;degrees:minutes:seconds&quot;, i.e., DD:MM:SS(.sss)
Definition: Types.h:251
Polynomial interpolation.
Definition: Types.h:228
Optical definition: nu = nu0/(1 + V/c)
Definition: Types.h:64
::std::map< ::std::string, carma::services::Source >::const_iterator SourceIterator
A const iterator over a map of Sources.
Definition: Types.h:262
Object always below horizon.
Definition: Types.h:171