SeaBreeze
include
vendors
OceanOptics
features
spectrometer
ProgrammableSaturationFeature.h
Go to the documentation of this file.
1
/***************************************************/
30
#ifndef PROGRAMMABLESATURATIONFEATURE_H
31
#define PROGRAMMABLESATURATIONFEATURE_H
32
33
#include "
vendors/OceanOptics/features/spectrometer/ProgrammableSaturationFeatureInterface.h
"
34
#include "
common/features/Feature.h
"
35
#include <vector>
36
37
namespace
seabreeze
{
38
/* ProgrammableSaturationFeature might be implemented by extending another
39
* Feature, so this needs to use virtual inheritance to solve the
40
* diamond problem.
41
*/
42
class
ProgrammableSaturationFeature
:
public
virtual
Feature
,
43
public
ProgrammableSaturationFeatureInterface
{
44
45
public
:
46
ProgrammableSaturationFeature
();
47
virtual
~
ProgrammableSaturationFeature
();
48
49
virtual
unsigned
int
getSaturation()
throw
(
FeatureException
) = 0;
50
51
/* Overriding from Feature */
52
virtual
bool
initialize(
const
Protocol
&protocol,
const
Bus
&bus)
53
throw
(
FeatureException
) = 0;
54
55
virtual
FeatureFamily
getFeatureFamily() = 0;
56
};
57
58
}
/* end namespace seabreeze */
59
60
#endif
/* PROGRAMMABLESATURATIONFEATURE_H */
Feature.h
seabreeze::ProgrammableSaturationFeature
Definition:
ProgrammableSaturationFeature.h:42
seabreeze::Protocol
Definition:
Protocol.h:44
seabreeze::FeatureFamily
Definition:
FeatureFamily.h:39
seabreeze::ProgrammableSaturationFeatureInterface
Definition:
ProgrammableSaturationFeatureInterface.h:37
seabreeze::FeatureException
Definition:
FeatureException.h:43
seabreeze::Feature
Definition:
Feature.h:51
seabreeze::Bus
Definition:
Bus.h:48
ProgrammableSaturationFeatureInterface.h
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13