Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:33:46

0001 //
0002 // serial_port.hpp
0003 // ~~~~~~~~~~~~~~~
0004 //
0005 // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
0006 // Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
0007 //
0008 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0009 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 
0012 #ifndef BOOST_ASIO_SERIAL_PORT_HPP
0013 #define BOOST_ASIO_SERIAL_PORT_HPP
0014 
0015 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
0016 # pragma once
0017 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
0018 
0019 #include <boost/asio/detail/config.hpp>
0020 
0021 #if defined(BOOST_ASIO_HAS_SERIAL_PORT) \
0022   || defined(GENERATING_DOCUMENTATION)
0023 
0024 #include <boost/asio/basic_serial_port.hpp>
0025 
0026 namespace boost {
0027 namespace asio {
0028 
0029 /// Typedef for the typical usage of a serial port.
0030 typedef basic_serial_port<> serial_port;
0031 
0032 } // namespace asio
0033 } // namespace boost
0034 
0035 #endif // defined(BOOST_ASIO_HAS_SERIAL_PORT)
0036        //   || defined(GENERATING_DOCUMENTATION)
0037 
0038 #endif // BOOST_ASIO_SERIAL_PORT_HPP