CARMA C++
ArrayNetCmdForwarder.h
Go to the documentation of this file.
1 #ifndef SZA_UTIL_ARRAYNETCMDFORWARDER_H
2 #define SZA_UTIL_ARRAYNETCMDFORWARDER_H
3 
12 
13 #include "carma/szaarrayutils/rtcnetcoms.h"
14 #include "carma/szautil/NetCmd.h"
15 
16 namespace sza {
17  namespace util {
18 
24  public:
25 
30 
34  virtual ~ArrayNetCmdForwarder();
35 
36  //------------------------------------------------------------
37  // Overwrite the base-class method by which all rtc commands are
38  // processed
39  //------------------------------------------------------------
40 
46  virtual void forwardNetCmd(sza::util::NetCmd* netCmd);
47 
48  protected:
49 
50  //------------------------------------------------------------
51  // Objects which will handle message forwarding for each
52  // subsystem. We make these pointers so that they can point to
53  // inheritors of subsystem base classes if we wish. For example,
54  // we might have two different types of antenna command
55  // forwarders, one for CORBA communications, and one for TCP/IP
56  //------------------------------------------------------------
57 
62 
67 
72 
77 
82 
87 
92 
97 
98  private:
99 
103  void forwardAntennaNetCmd(sza::util::NetCmd* netCmd);
104 
108  void forwardControlNetCmd(sza::util::NetCmd* netCmd);
109 
113  void forwardDcNetCmd(sza::util::NetCmd* netCmd);
114 
118  void forwardDelayNetCmd(sza::util::NetCmd* netCmd);
119 
123  void forwardGrabberNetCmd(sza::util::NetCmd* netCmd);
124 
128  void forwardScannerNetCmd(sza::util::NetCmd* netCmd);
129 
133  void forwardStripNetCmd(sza::util::NetCmd* netCmd);
134 
138  void forwardSynthNetCmd(sza::util::NetCmd* netCmd);
139 
140  }; // End class ArrayNetCmdForwarder
141 
142  } // End namespace util
143 } // End namespace sza
144 
145 
146 
147 #endif // End #ifndef SZA_UTIL_ARRAYNETCMDFORWARDER_H
NetCmdForwarder * stripForwarder_
Scanner command intended for the antenna power strips.
NetCmdForwarder * antennaForwarder_
Antenna subsystem.
Tagged: Sun May 16 12:37:32 PDT 2004.
Tagged: Wed Mar 17 19:42:02 UTC 2004.
Master class for forwarding message intended for different array subsystems.
virtual ~ArrayNetCmdForwarder()
Destructor.
NetCmdForwarder * dcForwarder_
Downconverter subsystem.
virtual void forwardNetCmd(sza::util::NetCmd *netCmd)
A virtual method to forward a command received from the ACC.
A pure interface class for forwarding network commands received from the control program.
NetCmdForwarder * grabberForwarder_
Frame Grabber subsystem.
NetCmdForwarder * controlForwarder_
Control command intended for the translator itself.
NetCmdForwarder * delayForwarder_
Delay subsystem.
NetCmdForwarder * scannerForwarder_
Scanner command intended for the translator itself.
NetCmdForwarder * synthForwarder_
Scanner command intended for the synthesizer.