SeaBreeze
ProgrammableSaturationFeatureImpl.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef PROGRAMMABLESATURATIONFEATUREIMPL_H
31 #define PROGRAMMABLESATURATIONFEATUREIMPL_H
32 
36 #include <vector>
37 
38 namespace seabreeze {
39  /* This class is intended for devices that have a clean protocol
40  * interface for reading out the saturation level directly.
41  */
44  public:
45  ProgrammableSaturationFeatureImpl(std::vector<ProtocolHelper *> helpers);
47 
48  virtual bool initialize(const Protocol &protocol, const Bus &bus)
49  throw (FeatureException);
50 
51  virtual FeatureFamily getFeatureFamily();
52 
53  protected:
54  /* Inherited from ProgrammableSaturationFeatureBase */
55  virtual unsigned int getSaturation(const Protocol &protocol,
56  const Bus &bus) throw (FeatureException);
57  };
58 
59 } /* end namespace seabreeze */
60 
61 #endif /* PROGRAMMABLESATURATIONFEATUREIMPL_H */
Definition: Protocol.h:44
Definition: FeatureImpl.h:54
Definition: FeatureFamily.h:39
Definition: ProgrammableSaturationFeatureBase.h:37
Definition: FeatureException.h:43
Definition: Bus.h:48
Definition: ProgrammableSaturationFeatureImpl.h:42
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42