SeaBreeze
SerialNumberFeatureInterface.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef SERIALNUMBERFEATUREINTERFACE_H
31 #define SERIALNUMBERFEATUREINTERFACE_H
32 
33 #include <string>
35 #include "common/buses/Bus.h"
37 
38 namespace seabreeze {
39 
41  public:
42  virtual ~SerialNumberFeatureInterface() = 0;
43  virtual unsigned char readSerialNumberMaximumLength(const Protocol &protocol,
44  const Bus &bus) throw (FeatureException) = 0;
45  virtual std::string *readSerialNumber(const Protocol &protocol,
46  const Bus &bus) throw (FeatureException) = 0;
47  };
48 
49  /* Default implementation for (otherwise) pure virtual destructor */
50  inline SerialNumberFeatureInterface::~SerialNumberFeatureInterface() {}
51 }
52 
53 #endif /* SERIALNUMBERFEATUREINTERFACE_H */
Definition: Protocol.h:44
Definition: SerialNumberFeatureInterface.h:40
Definition: FeatureException.h:43
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42