SeaBreeze
SpectrometerProtocolInterface.h
Go to the documentation of this file.
1 /***************************************************/
35 #ifndef SPECTROMETERPROTOCOLINTERFACE_H
36 #define SPECTROMETERPROTOCOLINTERFACE_H
37 
38 #include "common/SeaBreeze.h"
39 #include "common/buses/Bus.h"
43 #include <vector>
44 
45 namespace seabreeze {
46 
48  public:
51  virtual std::vector<byte> *readUnformattedSpectrum(const Bus &bus)
52  throw (ProtocolException) = 0;
53  virtual std::vector<double> *readSpectrum(const Bus &bus)
54  throw (ProtocolException) = 0;
55  virtual void requestSpectrum(const Bus &bus) throw (ProtocolException) = 0;
56  virtual void setIntegrationTimeMicros(const Bus &bus,
57  unsigned long time_usec) throw (ProtocolException) = 0;
58  virtual void setTriggerMode(const Bus &bus,
59  SpectrometerTriggerMode &mode) throw (ProtocolException) = 0;
60  };
61 
62 }
63 
64 #endif /* SPECTROMETERPROTOCOLINTERFACE_H */
Definition: Protocol.h:44
Definition: ProtocolException.h:44
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: ProtocolHelper.h:46
Definition: SpectrometerTriggerMode.h:54
Definition: SpectrometerProtocolInterface.h:47