Realistic 3D camera system
3D camera system components
throw_exception.hpp
Go to the documentation of this file.
1 //
2 // detail/throw_exception.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_DETAIL_THROW_EXCEPTION_HPP
12 #define ASIO_DETAIL_THROW_EXCEPTION_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_BOOST_THROW_EXCEPTION)
21 # include <boost/throw_exception.hpp>
22 #endif // defined(ASIO_BOOST_THROW_EXCEPTION)
23 
24 namespace asio {
25 namespace detail {
26 
27 #if defined(ASIO_HAS_BOOST_THROW_EXCEPTION)
29 #else // defined(ASIO_HAS_BOOST_THROW_EXCEPTION)
30 
31 // Declare the throw_exception function for all targets.
32 template <typename Exception>
33 void throw_exception(const Exception& e);
34 
35 // Only define the throw_exception function when exceptions are enabled.
36 // Otherwise, it is up to the application to provide a definition of this
37 // function.
38 # if !defined(ASIO_NO_EXCEPTIONS)
39 template <typename Exception>
40 void throw_exception(const Exception& e)
41 {
42  throw e;
43 }
44 # endif // !defined(ASIO_NO_EXCEPTIONS)
45 
46 #endif // defined(ASIO_HAS_BOOST_THROW_EXCEPTION)
47 
48 } // namespace detail
49 } // namespace asio
50 
51 #endif // ASIO_DETAIL_THROW_EXCEPTION_HPP
pylon Camera Software Suite for Linux for Use with Basler Gigabit the pylon Viewer and the IP Configurator applications might not be available System I340 and I350 series Although the pylon software will work with any GigE network we would recommend to use one of these adapters USB For U3V devices a USB3 capable USB controller is necessary For best performance and stability we highly recommend a kernel the following settings should be i e
void throw_exception(const Exception &e)