SeaBreeze
include
vendors
OceanOptics
protocols
interfaces
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
"
45
#include "
common/exceptions/ProtocolException.h
"
46
#include "
common/protocols/ProtocolHelper.h
"
47
#include <vector>
48
49
namespace
seabreeze
{
50
51
class
EEPROMProtocolInterface
:
public
ProtocolHelper
{
52
public
:
53
EEPROMProtocolInterface
(
Protocol
*protocol);
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 */
seabreeze::Protocol
Definition:
Protocol.h:44
Bus.h
ProtocolException.h
seabreeze::ProtocolException
Definition:
ProtocolException.h:44
seabreeze::Bus
Definition:
Bus.h:48
seabreeze::EEPROMProtocolInterface
Definition:
EEPROMProtocolInterface.h:51
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
seabreeze::ProtocolHelper
Definition:
ProtocolHelper.h:46
SeaBreeze.h
ProtocolHelper.h
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13