My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
TransNetCmdForwarder.h
Go to the documentation of this file.
1 #ifndef GCP_ASSEMBLER_TRANSNETCMDFORWARDER_H
2 #define GCP_ASSEMBLER_TRANSNETCMDFORWARDER_H
3 
11 #include "gcp/util/specific/ArrayNetCmdForwarder.h"
12 
13 namespace gcp {
14 namespace mediator {
15 
16  class Control;
17  class ControlMsg;
18 
20  public:
21 
26 
30  virtual ~TransNetCmdForwarder();
31 
32  //------------------------------------------------------------
33  // Top-level method by which all rtc commands are processed
34  //------------------------------------------------------------
35 
41  void forwardNetCmd(gcp::util::NetCmd* netCmd);
42 
43  private:
44 
48  Control* parent_;
49 
53  bool receivingInitScript_;
54 
55  //------------------------------------------------------------
56  // Methods by which individual rtc commands are forwarded
57  //------------------------------------------------------------
58 
62  void forwardAntennaNetCmd(gcp::util::NetCmd* netCmd);
63 
67  void forwardControlNetCmd(gcp::util::NetCmd* netCmd);
68 
72  void forwardTrackerNetCmd(gcp::util::NetCmd* netCmd);
73 
77  void forwardRxNetCmd(gcp::util::NetCmd* netCmd);
78 
79  //------------------------------------------------------------
80  // Methods by which commands converted into messages are
81  // forwarded to individual tasks.
82  //------------------------------------------------------------
83 
87  void forwardAntennaControlMsg(ControlMsg* msg);
88 
92  void forwardControlMsg(ControlMsg* msg);
93 
97  void forwardGrabberControlMsg(ControlMsg* msg);
98 
102  void forwardPtelControlMsg(ControlMsg* msg);
103 
104  }; // End class TranNetCmdForwarder
105 
106 } // End namespace mediator
107 } // End namespace gcp
108 
109 
110 
111 #endif // End #ifndef GCP_ASSEMBLER_TRANSNETCMDFORWARDER_H
void forwardNetCmd(gcp::util::NetCmd *netCmd)
Definition: TransNetCmdForwarder.cc:52
TransNetCmdForwarder(Control *parent)
Definition: TransNetCmdForwarder.cc:25
Definition: NetCmd.h:21
Definition: Control.h:53
Definition: ArrayNetCmdForwarder.h:23
virtual ~TransNetCmdForwarder()
Definition: TransNetCmdForwarder.cc:43
Definition: TransNetCmdForwarder.h:19
Definition: ControlMsg.h:22