SeaBreeze
OOIUSBEndpointMaps.h
Go to the documentation of this file.
1 /***************************************************/
30 #ifndef OOIUSBENDPOINTMAPS_H
31 #define OOIUSBENDPOINTMAPS_H
32 
33 namespace seabreeze {
34 
36  public:
37  int getLowSpeedInEP() const;
38  int getLowSpeedOutEP() const;
39  int getHighSpeedInEP() const;
40  int getHighSpeedIn2EP() const;
41 
42  protected:
43  int lowSpeedIn;
44  int lowSpeedOut;
45  int highSpeedIn;
46  int highSpeedIn2;
47  };
48 
49  /* This map is appropriate for the following spectrometers:
50  * USB2000 (and its variants), HR2000, ADC1000-USB,
51  * NIR256, NIR512, SAS
52  */
54  public:
56  virtual ~OOIUSBLegacy2KEndpointMap();
57 
58  };
59 
60  /* This map is appropriate for the following spectrometers:
61  * HR2000+, HR4000, Maya, Maya2000Pro, MayaLSL, QE65000, USB2000+, USB4000
62  */
64  public:
66  virtual ~OOIUSBFPGAEndpointMap();
67 
68  };
69 
71  public:
73  virtual ~OOIUSBJazEndpointMap();
74  };
75 
76  /* This defines a simple interface for an endpoint map that has a one input
77  * and one output endpoint.
78  */
80  public:
83  virtual int getPrimaryInEndpoint() const;
84  virtual int getPrimaryOutEndpoint() const;
85  protected:
86  int primaryInEndpoint;
87  int primaryOutEndpoint;
88  };
89 
90  /* This map is appropriate for the following spectrometers:
91  * Ventana
92  */
94  public:
96  virtual ~OOIUSBVentanaEndpointMap();
97  };
98 
100  public:
103  int getSecondaryInEndpoint() const;
104  int getSecondaryOutEndpoint() const;
105 
106  protected:
107  int secondaryInEndpoint;
108  int secondaryOutEndpoint;
109  };
110 
111  /* This map is appropriate for the following spectrometers:
112  * STS, QEPro
113  */
115  public:
117  virtual ~OOIUSBSimpleDualEndpointMap();
118  };
119 
120 }
121 
122 
123 #endif /* OOIUSBENDPOINTMAPS_H */
Definition: OOIUSBEndpointMaps.h:93
Definition: OOIUSBEndpointMaps.h:70
Definition: OOIUSBEndpointMaps.h:79
Definition: OOIUSBEndpointMaps.h:53
Definition: OOIUSBEndpointMaps.h:35
Definition: OOIUSBEndpointMaps.h:99
Definition: OOIUSBEndpointMaps.h:63
Encapsulates all SeaBreeze classes.
Definition: DeviceFactory.h:42
Definition: OOIUSBEndpointMaps.h:114