SeaBreeze
TemperatureProtocolInterface.h
Go to the documentation of this file.
1 /***************************************************/
40 #ifndef TEMPERATUREPROTOCOLINTERFACE_H
41 #define TEMPERATUREPROTOCOLINTERFACE_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 readTemperatureCount(const Bus &bus)
56  throw (ProtocolException) = 0;
57  virtual double readTemperature(const Bus &bus, int index)
58  throw (ProtocolException) = 0;
59  virtual std::vector<double> *readAllTemperatures(const Bus &bus)
60  throw (ProtocolException) = 0;
61  };
62 
63 }
64 
65 #endif /* TEMPERATUREPROTOCOLINTERFACE_H */
Definition: Protocol.h:44
Definition: TemperatureProtocolInterface.h:51
Definition: ProtocolException.h:44
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: ProtocolHelper.h:46