3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>windows::object_handle</title>
5 <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../../boost_asio.html" title="Boost.Asio">
8 <link rel="up" href="../reference.html" title="Reference">
9 <link rel="prev" href="windows__basic_stream_handle/write_some/overload2.html" title="windows::basic_stream_handle::write_some (2 of 2 overloads)">
10 <link rel="next" href="windows__object_handle_service.html" title="windows::object_handle_service">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15 <td align="center"><a href="../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="windows__basic_stream_handle/write_some/overload2.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="windows__object_handle_service.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h3 class="title">
27 <a name="boost_asio.reference.windows__object_handle"></a><a class="link" href="windows__object_handle.html" title="windows::object_handle">windows::object_handle</a>
28 </h3></div></div></div>
30 <a class="indexterm" name="idp204336960"></a>
31 Typedef for the typical usage of an object handle.
33 <pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_object_handle</span> <span class="identifier">object_handle</span><span class="special">;</span>
36 <a name="boost_asio.reference.windows__object_handle.h0"></a>
37 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.types"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.types">Types</a>
39 <div class="informaltable"><table class="table">
60 <a class="link" href="windows__basic_object_handle/implementation_type.html" title="windows::basic_object_handle::implementation_type"><span class="bold"><strong>implementation_type</strong></span></a>
65 The underlying implementation type of I/O object.
72 <a class="link" href="windows__basic_object_handle/lowest_layer_type.html" title="windows::basic_object_handle::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a>
77 A basic_handle is always the lowest layer.
84 <a class="link" href="windows__basic_object_handle/native_handle_type.html" title="windows::basic_object_handle::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a>
89 The native representation of a handle.
96 <a class="link" href="windows__basic_object_handle/native_type.html" title="windows::basic_object_handle::native_type"><span class="bold"><strong>native_type</strong></span></a>
101 (Deprecated: Use native_handle_type.) The native representation
109 <a class="link" href="windows__basic_object_handle/service_type.html" title="windows::basic_object_handle::service_type"><span class="bold"><strong>service_type</strong></span></a>
114 The type of the service that will be used to provide I/O operations.
121 <a name="boost_asio.reference.windows__object_handle.h1"></a>
122 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.member_functions"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.member_functions">Member
125 <div class="informaltable"><table class="table">
146 <a class="link" href="windows__basic_object_handle/assign.html" title="windows::basic_object_handle::assign"><span class="bold"><strong>assign</strong></span></a>
151 Assign an existing native handle to the handle.
158 <a class="link" href="windows__basic_object_handle/async_wait.html" title="windows::basic_object_handle::async_wait"><span class="bold"><strong>async_wait</strong></span></a>
163 Start an asynchronous wait on the object handle.
170 <a class="link" href="windows__basic_object_handle/basic_object_handle.html" title="windows::basic_object_handle::basic_object_handle"><span class="bold"><strong>basic_object_handle</strong></span></a>
175 Construct a basic_object_handle without opening it.
178 Construct a basic_object_handle on an existing native handle.
181 Move-construct a basic_object_handle from another.
188 <a class="link" href="windows__basic_object_handle/cancel.html" title="windows::basic_object_handle::cancel"><span class="bold"><strong>cancel</strong></span></a>
193 Cancel all asynchronous operations associated with the handle.
200 <a class="link" href="windows__basic_object_handle/close.html" title="windows::basic_object_handle::close"><span class="bold"><strong>close</strong></span></a>
212 <a class="link" href="windows__basic_object_handle/get_io_service.html" title="windows::basic_object_handle::get_io_service"><span class="bold"><strong>get_io_service</strong></span></a>
217 Get the io_service associated with the object.
224 <a class="link" href="windows__basic_object_handle/is_open.html" title="windows::basic_object_handle::is_open"><span class="bold"><strong>is_open</strong></span></a>
229 Determine whether the handle is open.
236 <a class="link" href="windows__basic_object_handle/lowest_layer.html" title="windows::basic_object_handle::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a>
241 Get a reference to the lowest layer.
244 Get a const reference to the lowest layer.
251 <a class="link" href="windows__basic_object_handle/native.html" title="windows::basic_object_handle::native"><span class="bold"><strong>native</strong></span></a>
256 (Deprecated: Use native_handle().) Get the native handle representation.
263 <a class="link" href="windows__basic_object_handle/native_handle.html" title="windows::basic_object_handle::native_handle"><span class="bold"><strong>native_handle</strong></span></a>
268 Get the native handle representation.
275 <a class="link" href="windows__basic_object_handle/operator_eq_.html" title="windows::basic_object_handle::operator="><span class="bold"><strong>operator=</strong></span></a>
280 Move-assign a basic_object_handle from another.
287 <a class="link" href="windows__basic_object_handle/wait.html" title="windows::basic_object_handle::wait"><span class="bold"><strong>wait</strong></span></a>
292 Perform a blocking wait on the object handle.
299 <a name="boost_asio.reference.windows__object_handle.h2"></a>
300 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.protected_member_functions"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.protected_member_functions">Protected
303 <div class="informaltable"><table class="table">
324 <a class="link" href="windows__basic_object_handle/get_implementation.html" title="windows::basic_object_handle::get_implementation"><span class="bold"><strong>get_implementation</strong></span></a>
329 Get the underlying implementation of the I/O object.
336 <a class="link" href="windows__basic_object_handle/get_service.html" title="windows::basic_object_handle::get_service"><span class="bold"><strong>get_service</strong></span></a>
341 Get the service associated with the I/O object.
348 <a name="boost_asio.reference.windows__object_handle.h3"></a>
349 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.protected_data_members"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.protected_data_members">Protected
352 <div class="informaltable"><table class="table">
373 <a class="link" href="windows__basic_object_handle/implementation.html" title="windows::basic_object_handle::implementation"><span class="bold"><strong>implementation</strong></span></a>
378 (Deprecated: Use get_implementation().) The underlying implementation
386 <a class="link" href="windows__basic_object_handle/service.html" title="windows::basic_object_handle::service"><span class="bold"><strong>service</strong></span></a>
391 (Deprecated: Use get_service().) The service associated with the
399 The <a class="link" href="windows__basic_object_handle.html" title="windows::basic_object_handle"><code class="computeroutput"><span class="identifier">windows</span><span class="special">::</span><span class="identifier">basic_object_handle</span></code></a> class template
400 provides asynchronous and blocking object-oriented handle functionality.
403 <a name="boost_asio.reference.windows__object_handle.h4"></a>
404 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.thread_safety"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.thread_safety">Thread
408 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
411 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
414 <a name="boost_asio.reference.windows__object_handle.h5"></a>
415 <span class="phrase"><a name="boost_asio.reference.windows__object_handle.requirements"></a></span><a class="link" href="windows__object_handle.html#boost_asio.reference.windows__object_handle.requirements">Requirements</a>
418 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/windows/object_handle.hpp</code>
421 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
424 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
425 <td align="left"></td>
426 <td align="right"><div class="copyright-footer">Copyright © 2003-2014 Christopher M. Kohlhoff<p>
427 Distributed under the Boost Software License, Version 1.0. (See accompanying
428 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
433 <div class="spirit-nav">
434 <a accesskey="p" href="windows__basic_stream_handle/write_some/overload2.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="windows__object_handle_service.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>