SeaBreeze
include
vendors
OceanOptics
protocols
interfaces
FPGARegisterProtocolInterface.h
Go to the documentation of this file.
1
/***************************************************/
40
#ifndef SEABREEZE_FPGA_REGISTER_PROTOCOL_INTERFACE_H
41
#define SEABREEZE_FPGA_REGISTER_PROTOCOL_INTERFACE_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
48
namespace
seabreeze
{
49
50
class
FPGARegisterProtocolInterface
:
public
ProtocolHelper
{
51
public
:
52
FPGARegisterProtocolInterface
(
Protocol
*protocol);
53
virtual
~
FPGARegisterProtocolInterface
();
54
virtual
unsigned
int
readRegister(
const
Bus
&bus, byte address)
55
throw
(
ProtocolException
) = 0;
56
virtual
void
writeRegister(
const
Bus
&bus, byte address,
57
unsigned
int
value)
throw
(
ProtocolException
) = 0;
58
};
59
60
}
61
62
#endif
seabreeze::Protocol
Definition:
Protocol.h:44
Bus.h
ProtocolException.h
seabreeze::FPGARegisterProtocolInterface
Definition:
FPGARegisterProtocolInterface.h:50
seabreeze::ProtocolException
Definition:
ProtocolException.h:44
seabreeze::Bus
Definition:
Bus.h:48
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