SeaBreeze
include
vendors
OceanOptics
features
fpga_register
FPGARegisterFeature.h
Go to the documentation of this file.
1
/***************************************************/
30
#ifndef SEABREEZE_FPGA_REGISTER_FEATURE_H
31
#define SEABREEZE_FPGA_REGISTER_FEATURE_H
32
33
#include "
common/features/FeatureImpl.h
"
34
#include "
common/protocols/Protocol.h
"
35
#include "
common/buses/Bus.h
"
36
#include "
common/exceptions/FeatureException.h
"
37
#include "
vendors/OceanOptics/features/fpga_register/FPGARegisterFeatureInterface.h
"
38
39
namespace
seabreeze
{
40
41
class
FPGARegisterFeature
:
public
FeatureImpl
,
public
FPGARegisterFeatureInterface
{
42
public
:
43
FPGARegisterFeature
();
44
virtual
~
FPGARegisterFeature
();
45
virtual
unsigned
int
readRegister(
const
Bus
&bus, byte address)
46
throw
(
FeatureException
);
47
virtual
void
writeRegister(
const
Bus
&bus, byte address,
unsigned
int
value)
48
throw
(
FeatureException
);
49
virtual
unsigned
char
getMajorVersion(
const
Bus
&bus)
50
throw
(
FeatureException
);
51
52
virtual
FeatureFamily
getFeatureFamily();
53
};
54
55
}
56
57
#endif
FeatureImpl.h
Protocol.h
FPGARegisterFeatureInterface.h
Bus.h
seabreeze::FeatureImpl
Definition:
FeatureImpl.h:54
seabreeze::FPGARegisterFeatureInterface
Definition:
FPGARegisterFeatureInterface.h:39
FeatureException.h
seabreeze::FeatureFamily
Definition:
FeatureFamily.h:39
seabreeze::FPGARegisterFeature
Definition:
FPGARegisterFeature.h:41
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