SeaBreeze
include
vendors
OceanOptics
features
revision
RevisionFeatureInterface.h
Go to the documentation of this file.
1
/***************************************************/
30
#ifndef REVISIONFEATUREINTERFACE_H
31
#define REVISIONFEATUREINTERFACE_H
32
33
#include "
common/protocols/Protocol.h
"
34
#include "
common/buses/Bus.h
"
35
#include "
common/exceptions/FeatureException.h
"
36
37
namespace
seabreeze
{
38
39
class
RevisionFeatureInterface
{
40
public
:
41
virtual
~
RevisionFeatureInterface
() = 0;
42
virtual
unsigned
char
readHardwareRevision(
const
Protocol
&protocol,
43
const
Bus
&bus)
throw
(
FeatureException
) = 0;
44
virtual
unsigned
short
int
readFirmwareRevision(
const
Protocol
&protocol,
45
const
Bus
&bus)
throw
(
FeatureException
) = 0;
46
};
47
48
/* Default implementation for (otherwise) pure virtual destructor */
49
inline
RevisionFeatureInterface::~RevisionFeatureInterface() {}
50
}
51
52
#endif
/* REVISIONFEATUREINTERFACE_H */
seabreeze::Protocol
Definition:
Protocol.h:44
Protocol.h
Bus.h
FeatureException.h
seabreeze::RevisionFeatureInterface
Definition:
RevisionFeatureInterface.h:39
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