CARMA C++
ControlSubsystemExt.h
Go to the documentation of this file.
1 #ifndef CARMA_MONITOR_CONTROLSUBSYSTEMEXT_H
2 #define CARMA_MONITOR_CONTROLSUBSYSTEMEXT_H
3 
17 #include <set>
18 
19 #include "carma/monitor/ControlSubsystem.h"
21 #include "carma/util/PthreadMutex.h"
22 
23 
24 namespace carma {
25 namespace monitor {
26 
27 
35 class ControlSubsystem : public ControlSubsystemBase {
36 public:
37 
43  ControlSubsystem(SystemFrameBuffer * const buffer = 0);
44 
48  virtual ~ControlSubsystem();
49 
50  // add new or overriding method declarations here
51 
62  Subarray * getSubarray( const ::std::string & subarrayName ) const;
63 
72  Antenna * antennaByName( const ::std::string & antennaName );
73 
85  static ::std::string getSubarrayName( int subarrayNo );
86 
98  static ::std::string getSubarrayAlphanumericName( int subarrayNo );
99 
103  static int getMaintenanceSubarrayNo( );
104 
105  ::std::set< Antenna * >
106  getSubarrayAntennaGroup( int subarrayNo ) const;
107 
108 private:
109 
114  void initializeAntennas( );
115 
120  void initializeSpectralLineCorrelator();
121 
126  void initializeWidebandCorrelator();
127 
128  void initializeC3gMax8Correlator();
129  void initializeC3gMax23Correlator();
130 
135  void initializeCorrelators();
136 };
137 
138 } // namespace monitor
139 } // namespace carma
140 
141 #endif
::std::string getSubarrayAlphanumericName(int subarrayNo)
Returns name of subarray with the correspoding subarray number.
The monitor system for the Control subsystem.
virtual ~ControlSubsystem()
Destructor.
Class to provide information about CARMA Correlator capabilities.
static int getMaintenanceSubarrayNo()
Returns number of maintenance subarray.
Antenna * antennaByName(const ::std::string &antennaName)
Method to return the antenna control container corresponding to a given type qualified antenna name...
Subarray * getSubarray(const ::std::string &subarrayName) const
Method to return the subarray controller container corresponding to a specific subarray name...
ControlSubsystem(SystemFrameBuffer *const buffer=0)
Constructor.
::std::string getSubarrayName(int subarrayNo)
Returns name of subarray with the correspoding subarray number.