SeaBreeze
include
vendors
OceanOptics
features
eeprom_slots
SaturationEEPROMSlotFeature.h
1
/***************************************************/
30
#ifndef SATURATIONEEPROMSLOTFEATURE_EEPROM_H
31
#define SATURATIONEEPROMSLOTFEATURE_EEPROM_H
32
33
#include "
vendors/OceanOptics/features/eeprom_slots/SaturationEEPROMSlotFeatureBase.h
"
34
35
namespace
seabreeze
{
36
37
/* This class is intended for most devices that store their saturation level
38
* in EEPROM in the so-called "autonulling" configuration. Note that the
39
* NIRQuest, MayaPro, Apex and some others do not do things quite the same
40
* way, so they should not use this class.
41
*/
42
class
SaturationEEPROMSlotFeature
43
:
public
SaturationEEPROMSlotFeatureBase
{
44
public
:
45
SaturationEEPROMSlotFeature
(
int
slot);
46
virtual
~
SaturationEEPROMSlotFeature
();
47
48
protected
:
49
/* Inherited from SaturationEEPROMSlotFeatureBase */
50
virtual
unsigned
int
getSaturation(
const
Protocol
&protocol,
51
const
Bus
&bus)
throw
(
FeatureException
);
52
53
private
:
54
int
autonullingSlot;
55
};
56
57
}
/* end namespace seabreeze */
58
59
#endif
/* SATURATIONEEPROMSLOTFEATURE_EEPROM_H */
SaturationEEPROMSlotFeatureBase.h
seabreeze::Protocol
Definition:
Protocol.h:44
seabreeze::SaturationEEPROMSlotFeature
Definition:
SaturationEEPROMSlotFeature.h:42
seabreeze::FeatureException
Definition:
FeatureException.h:43
seabreeze::SaturationEEPROMSlotFeatureBase
Definition:
SaturationEEPROMSlotFeatureBase.h:38
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