SeaBreeze
include
vendors
OceanOptics
protocols
interfaces
RevisionProtocolInterface.h
Go to the documentation of this file.
1
/***************************************************/
40
#ifndef REVISIONPROTOCOLINTERFACE_H
41
#define REVISIONPROTOCOLINTERFACE_H
42
43
#include "
common/SeaBreeze.h
"
44
#include "
common/buses/Bus.h
"
45
#include <vector>
46
#include "
common/exceptions/ProtocolException.h
"
47
#include "
common/protocols/ProtocolHelper.h
"
48
49
namespace
seabreeze
{
50
51
class
RevisionProtocolInterface
:
public
ProtocolHelper
{
52
public
:
53
RevisionProtocolInterface
(
Protocol
*protocol);
54
virtual
~
RevisionProtocolInterface
();
55
56
virtual
unsigned
char
readHardwareRevision(
const
Bus
&bus)
57
throw
(
ProtocolException
) = 0;
58
59
virtual
unsigned
short
int
readFirmwareRevision(
const
Bus
&bus)
60
throw
(
ProtocolException
) = 0;
61
};
62
63
}
64
65
#endif
/* REVISIONPROTOCOLINTERFACE_H */
seabreeze::Protocol
Definition:
Protocol.h:44
Bus.h
ProtocolException.h
seabreeze::RevisionProtocolInterface
Definition:
RevisionProtocolInterface.h:51
seabreeze::ProtocolException
Definition:
ProtocolException.h:44
seabreeze::Bus
Definition:
Bus.h:48
seabreeze
Encapsulates all SeaBreeze classes.
Definition:
DeviceFactory.h:42
seabreeze::ProtocolHelper
Definition:
ProtocolHelper.h:46
SeaBreeze.h
ProtocolHelper.h
Generated on Sun Jan 19 2020 16:01:08 for SeaBreeze by
1.8.13