Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
detail
event.hpp
Go to the documentation of this file.
1
//
2
// detail/event.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_EVENT_HPP
12
#define ASIO_DETAIL_EVENT_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_THREADS)
21
# include "
asio/detail/null_event.hpp
"
22
#elif defined(ASIO_WINDOWS)
23
# include "
asio/detail/win_event.hpp
"
24
#elif defined(ASIO_HAS_PTHREADS)
25
# include "
asio/detail/posix_event.hpp
"
26
#elif defined(ASIO_HAS_STD_MUTEX_AND_CONDVAR)
27
# include "
asio/detail/std_event.hpp
"
28
#else
29
# error Only Windows, POSIX and std::condition_variable are supported!
30
#endif
31
32
namespace
asio
{
33
namespace
detail {
34
35
#if !defined(ASIO_HAS_THREADS)
36
typedef
null_event
event
;
37
#elif defined(ASIO_WINDOWS)
38
typedef
win_event
event
;
39
#elif defined(ASIO_HAS_PTHREADS)
40
typedef
posix_event
event
;
41
#elif defined(ASIO_HAS_STD_MUTEX_AND_CONDVAR)
42
typedef
std_event
event
;
43
#endif
44
45
}
// namespace detail
46
}
// namespace asio
47
48
#endif // ASIO_DETAIL_EVENT_HPP
win_event.hpp
config.hpp
posix_event.hpp
std_event.hpp
asio::detail::null_event
Definition:
null_event.hpp:29
asio::detail::event
null_event event
Definition:
event.hpp:36
null_event.hpp
asio
Definition:
async_result.hpp:23
Generated by
1.8.11