CARMA C++
UvTrack.h
1 #ifndef CARMA_SERVICES_UVTRACK_H
2 #define CARMA_SERVICES_UVTRACK_H
3 
4 #include <string>
6 #include "carma/services/Interpolator.h"
7 #include "carma/services/Table.h"
8 
9 
10 namespace carma {
11  namespace services {
12  // forward declarations
13  class DecAngle;
14 
15  class UvTrack {
16  public:
17 
23  UvTrack( const ::std::string & arrayConfig,
24  const Frequency & freq );
25 
26  virtual ~UvTrack( );
27 
34  double optimalLength( const DecAngle & dec );
35  double policyLength( const DecAngle & dec );
36  double policyLength( const double decDegrees );
37  double optimalLength( const double decDegrees );
38 
42  double maxLength( void ) const {
43  return MAX_ALLOWABLE_LENGTH_HRS;
44  }
45 
46  private:
47  void initialize();
48  // Table containing track data
49  Table table_;
50  ::std::string arrayConfig_;
51  services::Frequency freq_;;
52  services::Interpolator * interp_;
53 
54  static const double MAX_ALLOWABLE_LENGTH_HRS;
55  static const double HIGH_FREQ_CUTOFF_GHZ;
56 
57  };
58 
59  } // services
60 } // carma
61 
62 
63 #endif //CARMA_SERVICES_UVTRACK_H
carma/services/Frequency.h Representation of Frequency.
Common table functions.