CARMA C++
ControlServer.h
Go to the documentation of this file.
1 
10 #ifndef CARMA_ANTENNA_BIMA_CONTROLSERVER_H
11 #define CARMA_ANTENNA_BIMA_CONTROLSERVER_H
12 
23 
24 #include <memory>
25 
26 namespace carma
27 {
28 
29  namespace corba {
30  class Server;
31  }
32 
33  namespace antenna
34  {
35  namespace bima
36  {
37 
48  {
49  public:
50 
56  ControlServer ( Configuration &config,
57  carma::corba::Server & server );
58 
62  virtual ~ControlServer();
63 
68  void runServer();
69 
70  private:
71 
72  // For now, publish all three receiver types onto the nameserver.
73  // Later I can add them to the AntennaControl object if I'm not
74  // able to convince everybody to get rid of it.
75  Configuration &_config;
76 
85  std::auto_ptr< carma::antenna::bima::RxControlImpl > rxcontrolAp_;
86  std::auto_ptr< carma::antenna::bima::RxSelectorImpl > rxselectorAp_;
87 
88  carma::corba::Server & server_;
89 
90  static void *MonitorThread(void *data);
91 
92  }; // class ControlServer
93  } // namespace bima
94  } // namespace antenna
95 } // namespace carma
96 
97 #endif // CARMA_ANTENNA_BIMA_CONTROLSERVER_H
ControlServer class encapsulates most control details.
Definition: ControlServer.h:47
Implementation class for DriveControl idl.
RxSelectorImpl CORBA implementation class.
BIMA CryoControl implementation.
CORBA FocusControl implementation.
BIMA DriveControl implementation.
ControlServer(Configuration &config, carma::corba::Server &server)
Constructor.
virtual ~ControlServer()
Destructor.
BIMA FocusControl implementation.
CalibratorControlImpl CORBA control implementation.
BIMA CryoControl implementation.
CalibrationControlImpl Corba control class.
void runServer()
Run control server.
BIMA CryoControl implementation.
PolarizationControlImpl Corba control class.
Class for creating, managing and serving requests to CORBA servants.
Definition: Server.h:22
BIMA CryoControl implementation.
BIMA CryoControl implementation.
OpticsControlImpl Corba control class.
CryoControlImpl CORBA control implementation.
CORBA control implementation for the FrontEndControl interface.
BIMA CryoControl implementation.
LOControlImpl Corba control class.
Definition: LOControlImpl.h:31