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