SeaBreeze
EEPROMProtocolInterface.h
Go to the documentation of this file.
1 /***************************************************/
40 #ifndef EEPROMPROTOCOLINTERFACE_H
41 #define EEPROMPROTOCOLINTERFACE_H
42 
43 #include "common/SeaBreeze.h"
44 #include "common/buses/Bus.h"
47 #include <vector>
48 
49 namespace seabreeze {
50 
52  public:
54  virtual ~EEPROMProtocolInterface();
55  virtual std::vector<byte> *readEEPROMSlot(const Bus &bus, int slot)
56  throw (ProtocolException) = 0;
57  virtual int writeEEPROMSlot(const Bus &bus, int slot,
58  const std::vector<byte> &data) throw (ProtocolException) = 0;
59  };
60 
61 }
62 
63 #endif /* EEPROMPROTOCOLINTERFACE_H */
Definition: Protocol.h:44
Definition: ProtocolException.h:44
Definition: Bus.h:48
Definition: EEPROMProtocolInterface.h:51
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: ProtocolHelper.h:46