Realistic 3D camera system
3D camera system components
descriptor_base.hpp
Go to the documentation of this file.
1 //
2 // posix/descriptor_base.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10 
11 #ifndef ASIO_POSIX_DESCRIPTOR_BASE_HPP
12 #define ASIO_POSIX_DESCRIPTOR_BASE_HPP
13 
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
15 # pragma once
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17 
18 #include "asio/detail/config.hpp"
19 
20 #if defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR) \
21  || defined(GENERATING_DOCUMENTATION)
22 
25 
27 
28 namespace asio {
29 namespace posix {
30 
34 class descriptor_base
35 {
36 public:
39 
53 #if defined(GENERATING_DOCUMENTATION)
54  typedef implementation_defined non_blocking_io;
55 #else
56  typedef asio::detail::io_control::non_blocking_io non_blocking_io;
57 #endif
58 
61 
76 #if defined(GENERATING_DOCUMENTATION)
77  typedef implementation_defined bytes_readable;
78 #else
79  typedef asio::detail::io_control::bytes_readable bytes_readable;
80 #endif
81 
82 protected:
84  ~descriptor_base()
85  {
86  }
87 };
88 
89 } // namespace posix
90 } // namespace asio
91 
93 
94 #endif // defined(ASIO_HAS_POSIX_STREAM_DESCRIPTOR)
95  // || defined(GENERATING_DOCUMENTATION)
96 
97 #endif // ASIO_POSIX_DESCRIPTOR_BASE_HPP