12 #ifndef ASIO_WINDOWS_BASIC_OBJECT_HANDLE_HPP 13 #define ASIO_WINDOWS_BASIC_OBJECT_HANDLE_HPP 15 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 17 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 21 #if defined(ASIO_HAS_WINDOWS_OBJECT_HANDLE) \ 22 || defined(GENERATING_DOCUMENTATION) 43 template <
typename ObjectHandleService =
object_handle_service>
44 class basic_object_handle
45 :
public basic_handle<ObjectHandleService>
49 typedef typename ObjectHandleService::native_handle_type native_handle_type;
59 : basic_handle<ObjectHandleService>(io_service)
76 const native_handle_type& native_handle)
77 : basic_handle<ObjectHandleService>(io_service, native_handle)
81 #if defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION) 92 basic_object_handle(basic_object_handle&& other)
93 : basic_handle<ObjectHandleService>(
108 basic_object_handle& operator=(basic_object_handle&& other)
110 basic_handle<ObjectHandleService>::operator=(
114 #endif // defined(ASIO_HAS_MOVE) || defined(GENERATING_DOCUMENTATION) 127 this->get_service().wait(this->get_implementation(), ec);
141 this->get_service().wait(this->get_implementation(), ec);
160 template <
typename WaitHandler>
165 return this->get_service().async_wait(this->get_implementation(),
175 #endif // defined(ASIO_HAS_WINDOWS_OBJECT_HANDLE) 178 #endif // ASIO_WINDOWS_BASIC_OBJECT_HANDLE_HPP void throw_error(const asio::error_code &err)
Provides core I/O functionality.
ASIO_INITFN_RESULT_TYPE(ComposedConnectHandler, void(asio::error_code, Iterator)) async_connect(basic_socket< Protocol
asio::basic_streambuf< Allocator > CompletionCondition ASIO_MOVE_ARG(ReadHandler) handler)
Class to represent an error code value.
#define ASIO_MOVE_CAST(type)