CARMA C++
OpticalFlap.h
Go to the documentation of this file.
1 
11 #ifndef CARMA_ANTENNA_BIMA_OPTICALFLAP_H
12 #define CARMA_ANTENNA_BIMA_OPTICALFLAP_H
13 
14 // System includes
15 #include <string>
16 #include <unistd.h>
17 
18 // CARMA includes
20 
21 namespace carma
22 {
23  namespace antenna
24  {
25  namespace bima
26  {
27  class OpticalFlap : public TelemetryClient
28  {
29  public:
30  OpticalFlap( Configuration &config );
31 
32  typedef enum { CLOSED, OPEN, STUCK } OpticalFlapStatus;
33 
34  void open();
35  void close();
36  OpticalFlapStatus getStatus();
37 
38  private:
39  Configuration &_config;
40 
41  }; // class OpticalFlap
42  } // namespace bima
43  } // namespace antenna
44 } // namespace carma
45 
46 #endif // CARMA_ANTENNA_BIMA_OPTICALFLAP_H
Class definition for TelemetryClient on the BIMA antennas.