SeaBreeze
Protocol.h
Go to the documentation of this file.
1 /***************************************************/
37 #ifndef SEABREEZE_PROTOCOL_H
38 #define SEABREEZE_PROTOCOL_H
39 
41 
42 namespace seabreeze {
43 
44  class Protocol {
45  public:
46  Protocol(int id);
47  /* Copy constructor */
48  Protocol(Protocol const &that);
49  virtual ~Protocol();
50  bool equals(Protocol const &that);
51 
52  virtual ProtocolFamily getProtocolFamily() = 0;
53 
54  protected:
55  /* Protected for derived classes to use. */
56  Protocol();
57  int id;
58  };
59 
60 }
61 
62 #endif
Definition: Protocol.h:44
Definition: ProtocolFamily.h:39
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42