CARMA C++
RxProxy.h
Go to the documentation of this file.
1 #ifndef SZA_ANTENNA_CORBA_RXPROXY_H
2 #define SZA_ANTENNA_CORBA_RXPROXY_H
3 
12 
13 #include "carma/antenna/sza/control/szaRxControl.h"
14 #include "carma/antenna/sza/control/szaLOControl.h"
15 
16 #include "carma/szautil/Frequency.h"
17 #include "carma/szautil/Rx.h"
18 
19 namespace sza {
20  namespace antenna {
21  namespace corba {
22 
27  class LOProxy;
28  class IFProxy;
29  class FrontEndProxy;
30  class OpticsProxy;
31  class PolarizationProxy;
32 
38  class RxProxy : public Proxy {
39 
40  public:
41 
46 
50  ~RxProxy();
51 
52  // Return the DO for the named LO subsystem.
53 
54  virtual carma::antenna::common::LOControl_ptr
55  LO();
56 
57  virtual carma::antenna::common::IFControl_ptr
58  IF( carma::antenna::common::RxControl::IF_Type ifoutpu );
59 
60  virtual carma::antenna::common::FrontEndControl_ptr
61  FrontEnd( carma::antenna::common::RxControl::Pol_Type pol=carma::antenna::common::RxControl::LEFTCIRCULAR);
62 
63  virtual carma::antenna::common::OpticsControl_ptr Optics();
64 
65  virtual carma::antenna::common::PolarizationControl_ptr Polarization();
66 
67  // Set up frequencies for this receiver?
68 
69  virtual void setFrequency(double yigFreq, double LOFreq,
70  bool endWithAbsorberInBeam,
71  bool optimizeReceiver,
72  CORBA::ULong seq);
73 
74  void setFrequency(sza::util::Rx::Id rxId, CORBA::ULong seq);
75 
76  virtual void setObservingFrequency(double obsFreq, CORBA::ULong seq);
77 
78  virtual void measureTotalPower(carma::antenna::common::CalibratorControl::Position position, CORBA::ULong seq);
79 
80  virtual void measureTotalPower(carma::antenna::common::
81  CalibratorControl::Position position);
82 
83  virtual void setOffset(double az, double el);
84 
85  virtual void toggleFastSampling(CORBA::ULong channel,
86  bool start);
87 
88  virtual void setIFPresetPower();
89 
90  virtual void setIFAtten(CORBA::Float atten,
91  carma::antenna::common::RxControl::IF_Type ifType);
92 
93  virtual void setIFPower(CORBA::Float power);
94 
95  // SZA-specific methods
96 
97  virtual void resetCanModule(const char* moduleName);
98  virtual void resetCanBus();
99 
100  // End IDL interface
101 
102  sza::antenna::corba::LOProxy* getLOProxy();
103  sza::antenna::corba::IFProxy* getIFProxy();
104  sza::antenna::corba::FrontEndProxy* getFrontEndProxy();
105 
106  void storeEncoderPosition(sza::util::Rx::Id rxId, short position);
107 
108  void setDefaultYigFrequency(sza::util::Rx::Id rxId, sza::util::Frequency freq);
109  void setDefaultGunnFrequency(sza::util::Rx::Id rxId, sza::util::Frequency freq);
110 
111  protected:
112 
117  carma::antenna::common::IFControl_ptr ifPtr_; // To return via IF() accessor
118 
123  carma::antenna::sza::control::LOControl_ptr loPtr_; // To return via LO() accessor
124 
129  carma::antenna::common::FrontEndControl_ptr frontEndPtr_; // For frontEnd()
130 
135  carma::antenna::common::OpticsControl_ptr opticsPtr_; // For optics()
136 
142  carma::antenna::common::PolarizationControl_ptr polarizationPtr_;
143 
144  }; // End class RxProxy
145 
146  }; // End namespace corba
147  }; // End namespace antenna
148 }; // End namespace sza
149 
150 #endif
151 
152 
A class which will be served as the CORBA Polarization DO, whose methods will send messages to the An...
FrontEndProxy * frontEnd_
Object which we will serve as the CORBA FrontEnd subsystem DO.
Definition: RxProxy.h:128
IFProxy * ifSys_
Object which we will serve as the CORBA IF subsystem DO.
Definition: RxProxy.h:116
A class which will be served as the CORBA LO DO, whose methods will send messages to the AntennaMaste...
Definition: LOProxy.h:27
A class which will be served as the CORBA Rx DO, whose methods will send messages to the AntennaMaste...
Definition: RxProxy.h:38
Position
A calibrator position enumerator.
LOProxy * lo_
Object which we will serve as the CORBA LO subsystem DO.
Definition: RxProxy.h:122
A class which will be served as the CORBA Optics DO, whose methods will send messages to the AntennaM...
Definition: OpticsProxy.h:24
Tagged: Fri Jul 24 11:34:30 PDT 2009.
RxProxy(sza::antenna::control::AntennaMaster *parent)
Constructor with a pointer to the parent.
A class which will be served as the CORBA IF DO, whose methods will send messages to the AntennaMaste...
Definition: IFProxy.h:25
A class which will be served as the CORBA FrontEnd DO, whose methods will send messages to the Antenn...
Definition: FrontEndProxy.h:25
PolarizationProxy * polarization_
Object which we will serve as the CORBA Polarization subsystem DO.
Definition: RxProxy.h:141
OpticsProxy * optics_
Object which we will serve as the CORBA Optics subsystem DO.
Definition: RxProxy.h:134
Define a class to encapsulate the entire Antenna control system.