OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
USBSerialDevInfo.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 #ifndef INCLUDED_SerialPort_h_GUID_DC91C7DB_E233_4C95_03F7_31415985F7B8
27 #define INCLUDED_SerialPort_h_GUID_DC91C7DB_E233_4C95_03F7_31415985F7B8
28 
29 // Internal Includes
31 
32 // Library/third-party includes
33 #include <boost/optional.hpp>
34 
35 // Standard includes
36 #include <string>
37 #include <vector>
38 
39 namespace osvr {
40 namespace usbserial {
41 
42  std::vector<USBSerialDevice> getSerialDeviceList(
43  boost::optional<uint16_t> vendorID = boost::optional<uint16_t>(),
44  boost::optional<uint16_t> productID = boost::optional<uint16_t>());
45 
46 } // namespace usbserial
47 } // namespace osvr
48 
49 #endif // INCLUDED_SerialPort_h_GUID_DC91C7DB_E233_4C95_03F7_31415985F7B8