SeaBreeze
include
vendors
OceanOptics
features
fpga_register
FPGARegisterFeatureInterface.h
Go to the documentation of this file.
1
/***************************************************/
30
#ifndef SEABREEZE_FPGA_REGISTER_FEATURE_INTERFACE_H
31
#define SEABREEZE_FPGA_REGISTER_FEATURE_INTERFACE_H
32
33
#include "
common/features/Feature.h
"
34
#include "
common/buses/Bus.h
"
35
#include "
common/exceptions/FeatureException.h
"
36
37
namespace
seabreeze
{
38
39
class
FPGARegisterFeatureInterface
{
40
public
:
41
virtual
~
FPGARegisterFeatureInterface
() = 0;
42
virtual
unsigned
int
readRegister(
const
Bus
&bus, byte address)
43
throw
(
FeatureException
) = 0;
44
virtual
void
writeRegister(
const
Bus
&bus, byte address,
unsigned
int
value)
45
throw
(
FeatureException
) = 0;
46
virtual
unsigned
char
getMajorVersion(
const
Bus
&bus)
47
throw
(
FeatureException
) = 0;
48
};
49
50
inline
FPGARegisterFeatureInterface::~FPGARegisterFeatureInterface() {}
51
}
52
53
#endif
Feature.h
Bus.h
seabreeze::FPGARegisterFeatureInterface
Definition:
FPGARegisterFeatureInterface.h:39
FeatureException.h
seabreeze::FeatureException
Definition:
FeatureException.h:43
seabreeze::Bus
Definition:
Bus.h:48
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13