OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
USBSerialEnumImpl.h
Go to the documentation of this file.
1 
12 // Copyright 2015 Sensics, Inc.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 // Internal Includes
28 
29 // Library/third-party includes
30 // - none
31 
32 // Standard includes
33 // - none
34 
35 namespace osvr {
36 namespace usbserial {
37 
39 
40  public:
42 
43  EnumeratorImpl(uint16_t vendorID, uint16_t productID);
44 
45  ~EnumeratorImpl();
46 
47  EnumeratorIterator begin();
48  EnumeratorIterator end();
49 
50  private:
51  DeviceList devices;
52  };
53 
54 } // namespace usbserial
55 } // namespace osvr