CARMA C++
Flexure.h
Go to the documentation of this file.
1 #ifndef SZA_ANTENNA_CONTROL_FLEXURE_H
2 #define SZA_ANTENNA_CONTROL_FLEXURE_H
3 
11 namespace sza {
12  namespace antenna {
13  namespace control {
14 
15  class PointingCorrections;
16 
17  class Flexure {
18  public:
19 
23  Flexure();
24 
28  virtual ~Flexure();
29 
30  void setSineElFlexure(double sFlexure);
31  void setCosElFlexure(double cFlexure);
32 
33  void apply(PointingCorrections* f);
34 
35  void setUsable(bool usable);
36  bool isUsable();
37 
38  void reset();
39 
40  void pack(signed* s_elements);
41 
42  private:
43 
44  bool usable_;
45 
46  // The coefficient of the sin(el) term
47 
48  double sFlexure_;
49 
50  // The coefficient of the cos(el) term
51 
52  double cFlexure_;
53 
54  }; // End class Flexure
55 
56  } // End namespace control
57  } // End namespace antenna
58 } // End namespace sza
59 
60 
61 
62 #endif // End #ifndef SZA_ANTENNA_CONTROL_FLEXURE_H