SeaBreeze
SerialNumberFeature.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef SERIALNUMBERFEATURE_H
31 #define SERIALNUMBERFEATURE_H
32 
33 #include <vector>
34 
38 #include "common/buses/Bus.h"
40 
41 namespace seabreeze {
42 
44  public:
45  SerialNumberFeature(std::vector<ProtocolHelper *> helpers);
46  virtual ~SerialNumberFeature();
47  virtual std::string *readSerialNumber(const Protocol &protocol,
48  const Bus &bus) throw (FeatureException);
49  virtual unsigned char readSerialNumberMaximumLength(const Protocol &protocol,
50  const Bus &bus) throw (FeatureException);
51 
52  /* Overriding from Feature */
53  virtual FeatureFamily getFeatureFamily();
54  };
55 
56 }
57 
58 #endif /* SERIALNUMBERFEATURE_H */
Definition: Protocol.h:44
Definition: SerialNumberFeatureInterface.h:40
Definition: SerialNumberFeature.h:43
Definition: FeatureImpl.h:54
Definition: FeatureFamily.h:39
Definition: FeatureException.h:43
Definition: Bus.h:48
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42