CARMA C++
LOProxy.h
Go to the documentation of this file.
1 #ifndef SZA_ANTENNA_CORBA_LOPROXY_H
2 #define SZA_ANTENNA_CORBA_LOPROXY_H
3 
12 
13 #include "carma/antenna/sza/control/szaLOControl.h"
14 
15 #include "carma/szautil/LoOsc.h"
16 #include "carma/szautil/Rx.h"
17 
18 namespace sza {
19  namespace antenna {
20  namespace corba {
21 
27  class LOProxy : public Proxy {
28 
29  public:
30 
35 
39  ~LOProxy();
40 
41  virtual void setYigFrequency(double yigFreq);
42 
43  virtual void setLoFrequency(double frequency);
44 
45  virtual void toggleSweep(bool on);
46 
47  virtual void toggleYigSweep(bool on);
48 
49  virtual void setLoTerminatorAttenuation(unsigned short atten);
50 
51  //-----------------------------------------------------------------------
52  // SZA-specific YIG methods
53  //-----------------------------------------------------------------------
54 
55  virtual void setYigVoltage(unsigned short voltage);
56 
57  virtual void setYigLoopGain(unsigned short gain);
58 
59  virtual void setYigDampingResistance(unsigned short resistance);
60 
61  //-----------------------------------------------------------------------
62  // SZA=specific varactor methods
63  //-----------------------------------------------------------------------
64 
65  virtual void setVaractorLoopGain(unsigned short gain);
66 
67  //-----------------------------------------------------------------------
68  // SZA-specific BTG methods
69  //-----------------------------------------------------------------------
70 
71  virtual void setGunnVoltage(unsigned short voltage);
72 
73  virtual void setGunnLoopGain(unsigned short gain);
74 
75  virtual void setDefaultGunnVoltage(unsigned short voltage);
76 
77  //-----------------------------------------------------------------------
78  // SZA-specific IntMod methods
79  //-----------------------------------------------------------------------
80 
81  virtual void setPresetPower();
82 
83  //-----------------------------------------------------------------------
84  // Local methods
85  //-----------------------------------------------------------------------
86 
87  void setYigFrequency(sza::util::Rx::Id rxId, double yigFreqInGHz);
88  void setDefaultYigFrequency(sza::util::Frequency& freq);
89  void setDefaultLOTermAtten(sza::util::Attenuation& atten);
90  void setDefaultGunnVoltage(sza::util::Voltage& volt);
91  void setLoopGainResistance(sza::util::LoOsc::Osc osc, int loopGain);
92  void setDampingGainResistance(int dampGain);
93 
94  }; // End class LOProxy
95 
96  }; // End namespace corba
97  }; // End namespace antenna
98 }; // End namespace sza
99 
100 #endif
101 
102 
Tagged: Wed Aug 25 21:23:12 PDT 2004.
A class which will be served as the CORBA LO DO, whose methods will send messages to the AntennaMaste...
Definition: LOProxy.h:27
LOProxy(sza::antenna::control::AntennaMaster *parent)
Constructor with a pointer to the parent AntennaMaster.
Tagged: Fri Jul 24 11:34:30 PDT 2009.
Define a class to encapsulate the entire Antenna control system.