SeaBreeze
STSPixelBinningFeature.h
Go to the documentation of this file.
1 /***************************************************/
37 #ifndef STSPIXELBINNINGFEATURE_H
38 #define STSPIXELBINNINGFEATURE_H
39 
40 #include "common/buses/Bus.h"
47 
48 namespace seabreeze {
49 
50  class STSSpectrometerFeature;
51 
54  public:
55  STSPixelBinningFeature(std::vector<ProtocolHelper *> helpers,
56  STSSpectrometerFeature *spectroFeature);
57  virtual ~STSPixelBinningFeature();
58 
59  virtual void setPixelBinningFactor(const Protocol &protocol,
60  const Bus &bus, const unsigned char binningFactor)
61  throw (FeatureException);
62  virtual unsigned char getPixelBinningFactor(const Protocol &protocol,
63  const Bus &bus) throw (FeatureException);
64  virtual void setDefaultPixelBinningFactor(const Protocol &protocol,
65  const Bus &bus, const unsigned char binningFactor)
66  throw (FeatureException);
67  virtual void setDefaultPixelBinningFactor(const Protocol &protocol,
68  const Bus &bus) throw (FeatureException);
69  virtual unsigned char getDefaultPixelBinningFactor(const Protocol &protocol,
70  const Bus &bus) throw (FeatureException);
71  virtual unsigned char getMaxPixelBinningFactor(const Protocol &protocol,
72  const Bus &bus) throw (FeatureException);
73 
74  /* Inherited from Feature */
75  /* This is still abstract in case the device needs to do anything
76  * special with regards to defaults when it is initialized.
77  */
78  virtual bool initialize(const Protocol &protocol, const Bus &bus)
79  throw (FeatureException);
80 
81 
82  virtual FeatureFamily getFeatureFamily();
83 
84  protected:
85  STSSpectrometerFeature *spectrometerFeature;
86  };
87 }
88 
89 #endif /* STSPIXELBINNINGFEATURE_H */
Definition: STSSpectrometerFeature.h:49
Definition: Protocol.h:44
Definition: FeatureImpl.h:54
Definition: FeatureFamily.h:39
Definition: FeatureException.h:43
Definition: Bus.h:48
Definition: PixelBinningFeatureInterface.h:43
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: STSPixelBinningFeature.h:52