My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
PmacTarget.h
Go to the documentation of this file.
1 #ifndef PMACTARGET_H
2 #define PMACTARGET_H
3 
12 #include "gcp/util/common/PmacMode.h"
13 
14 #include "gcp/util/common/Axis.h"
15 #include "gcp/antenna/control/specific/PmacAxis.h"
16 
17 #include "gcp/control/code/unix/libunix_src/common/scancache.h"
18 
19 namespace gcp {
20  namespace antenna {
21  namespace control {
22 
26  class Tracker;
27 
28  class PmacTarget {
29 
30  public:
31 
39 
44 
49 
53  bool getScanMode();
54 
58  void setScanMode(bool isScanning);
59 
64  void packMode(unsigned* u_elements);
65 
70  void packCounts(signed* s_elements);
71 
76  void packRates(signed* s_elements);
77 
78  private:
79 
80  friend class Tracker;
81 
82  bool isScanning_;
83 
84  gcp::util::PmacMode::Mode mode_; // The pmac mode
85 
86  // The encoder positions and rates of the azimuth drive
87 
89 
90  // The encoder positions and rates of the elevation drive
91 
93 
94  // The encoder positions and rates of the PA drive
95 
97 
98  }; // End class PmacTarget
99 
100  }; // End namespace control
101  }; // End namespace antenna
102 } // End namespace gcp
103 
104 #endif // End #ifndef
Definition: Tracker.h:49
Definition: PmacAxis.h:28
gcp::antenna::control::PmacAxis * PmacAxis(gcp::util::Axis::Type axis)
Definition: PmacTarget.cc:17
void setMode(gcp::util::PmacMode::Mode mode)
Definition: PmacTarget.cc:46
Mode
Definition: PmacMode.h:24
void packMode(unsigned *u_elements)
Definition: PmacTarget.cc:70
void packCounts(signed *s_elements)
Definition: PmacTarget.cc:78
gcp::util::PmacMode::Mode getMode()
Definition: PmacTarget.cc:38
void setScanMode(bool isScanning)
Definition: PmacTarget.cc:62
void packRates(signed *s_elements)
Definition: PmacTarget.cc:88
Type
Definition: Axis.h:24
Definition: PmacTarget.h:28
bool getScanMode()
Definition: PmacTarget.cc:54