SeaBreeze
STSSpectrometerFeature.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef STSSPECTROMETERFEATURE_H
31 #define STSSPECTROMETERFEATURE_H
32 
36 
37 
38 #define STS_TEMPERATURE_DETECTOR_INDEX 0
39 #define STS_TEMPERATURE_RESERVED_INDEX 1
40 #define STS_TEMPERATURE_CPU_INDEX 2
41 
42 namespace seabreeze {
43 
44  namespace oceanBinaryProtocol {
45  class OBPReadRawSpectrumExchange;
46  class OBPReadSpectrumExchange;
47  }
48 
50  public:
52  virtual ~STSSpectrometerFeature();
53 
54  void setPixelBinningFactor(unsigned char binningFactor);
55 
56  /* The STS gets wavelengths a bit differently */
57  virtual std::vector<double> *getWavelengths(const Protocol &protocol,
58  const Bus &bus) throw (FeatureException);
59 
60  private:
63  unsigned char binningFactor;
64 
65  static const unsigned int unbinnedNumberOfPixels = 1024;
66  static const long INTEGRATION_TIME_MINIMUM;
67  static const long INTEGRATION_TIME_MAXIMUM;
68  static const long INTEGRATION_TIME_INCREMENT;
69  static const long INTEGRATION_TIME_BASE;
70  };
71 
72 }
73 
74 #endif /* STSSPECTROMETERFEATURE_H */
Definition: STSSpectrometerFeature.h:49
Definition: Protocol.h:44
Definition: OBPReadRawSpectrumExchange.h:37
Definition: FeatureException.h:43
Definition: OBPReadSpectrumExchange.h:37
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: OOISpectrometerFeature.h:44