SeaBreeze
SpectrumProcessingProtocolInterface.h
Go to the documentation of this file.
1 /***************************************************/
40 #ifndef SPECTRUMPROCESSINGPROTOCOLINTERFACE_H
41 #define SPECTRUMPROCESSINGPROTOCOLINTERFACE_H
42 
43 #include "common/SeaBreeze.h"
44 #include "common/buses/Bus.h"
45 #include <vector>
48 
49 namespace seabreeze {
50 
52  public:
55  virtual unsigned char readSpectrumProcessingBoxcarWidth(const Bus &bus)
56  throw (ProtocolException) = 0;
57  virtual unsigned short int readSpectrumProcessingScansToAverage(const Bus &bus)
58  throw (ProtocolException) = 0;
59  virtual void writeSpectrumProcessingBoxcarWidth(const Bus &bus, unsigned char boxcarWidth)
60  throw (ProtocolException) = 0;
61  virtual void writeSpectrumProcessingScansToAverage(const Bus &bus, unsigned short int scansToAverage)
62  throw (ProtocolException) = 0;
63  };
64 
65 }
66 
67 #endif /* SPECTRUMPROCESSINGPROTOCOLINTERFACE_H */
Definition: SpectrumProcessingProtocolInterface.h:51
Definition: Protocol.h:44
Definition: ProtocolException.h:44
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: ProtocolHelper.h:46