summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:22:41 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:22:41 +0900
commit3c1df2168531ad5580076ae08d529054689aeedd (patch)
tree941aff6f86393eecacddfec252a8508c7e8351c9 /doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html
parentd6a306e745acfee00e81ccaf3324a2a03516db41 (diff)
downloadboost-3c1df2168531ad5580076ae08d529054689aeedd.tar.gz
boost-3c1df2168531ad5580076ae08d529054689aeedd.tar.bz2
boost-3c1df2168531ad5580076ae08d529054689aeedd.zip
Imported Upstream version 1.70.0upstream/1.70.0
Diffstat (limited to 'doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html')
-rw-r--r--doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html49
1 files changed, 25 insertions, 24 deletions
diff --git a/doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html b/doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html
index f7315bb8fb..2a526808ce 100644
--- a/doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html
+++ b/doc/html/boost_asio/reference/basic_waitable_timer/basic_waitable_timer/overload4.html
@@ -1,13 +1,13 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>basic_waitable_timer::basic_waitable_timer (4 of 4 overloads)</title>
+<title>basic_waitable_timer::basic_waitable_timer (4 of 7 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../basic_waitable_timer.html" title="basic_waitable_timer::basic_waitable_timer">
-<link rel="prev" href="overload3.html" title="basic_waitable_timer::basic_waitable_timer (3 of 4 overloads)">
-<link rel="next" href="../cancel.html" title="basic_waitable_timer::cancel">
+<link rel="prev" href="overload3.html" title="basic_waitable_timer::basic_waitable_timer (3 of 7 overloads)">
+<link rel="next" href="overload5.html" title="basic_waitable_timer::basic_waitable_timer (5 of 7 overloads)">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
@@ -20,22 +20,25 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overload3.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.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="../cancel.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overload3.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.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="overload5.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
-<a name="boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4"></a><a class="link" href="overload4.html" title="basic_waitable_timer::basic_waitable_timer (4 of 4 overloads)">basic_waitable_timer::basic_waitable_timer
- (4 of 4 overloads)</a>
+<a name="boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4"></a><a class="link" href="overload4.html" title="basic_waitable_timer::basic_waitable_timer (4 of 7 overloads)">basic_waitable_timer::basic_waitable_timer
+ (4 of 7 overloads)</a>
</h5></div></div></div>
<p>
- Move-construct a <a class="link" href="../../basic_waitable_timer.html" title="basic_waitable_timer"><code class="computeroutput">basic_waitable_timer</code></a>
- from another.
+ Constructor to set a particular expiry time as an absolute time.
</p>
-<pre class="programlisting">basic_waitable_timer(
- basic_waitable_timer &amp;&amp; other);
+<pre class="programlisting">template&lt;
+ typename ExecutionContext&gt;
+basic_waitable_timer(
+ ExecutionContext &amp; context,
+ const time_point &amp; expiry_time,
+ typename enable_if&lt; is_convertible&lt; ExecutionContext &amp;, execution_context &amp; &gt;::value &gt;::type * = 0);
</pre>
<p>
- This constructor moves a timer from one object to another.
+ This constructor creates a timer and sets the expiry time.
</p>
<h6>
<a name="boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4.h0"></a>
@@ -44,25 +47,23 @@
<div class="variablelist">
<p class="title"><b></b></p>
<dl class="variablelist">
-<dt><span class="term">other</span></dt>
+<dt><span class="term">context</span></dt>
<dd><p>
- The other <a class="link" href="../../basic_waitable_timer.html" title="basic_waitable_timer"><code class="computeroutput">basic_waitable_timer</code></a>
- object from which the move will occur.
+ An execution context which provides the I/O executor that the timer
+ will use, by default, to dispatch handlers for any asynchronous
+ operations performed on the timer.
+ </p></dd>
+<dt><span class="term">expiry_time</span></dt>
+<dd><p>
+ The expiry time to be used for the timer, expressed as an absolute
+ time.
</p></dd>
</dl>
</div>
-<h6>
-<a name="boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4.h1"></a>
- <span class="phrase"><a name="boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4.remarks"></a></span><a class="link" href="overload4.html#boost_asio.reference.basic_waitable_timer.basic_waitable_timer.overload4.remarks">Remarks</a>
- </h6>
-<p>
- Following the move, the moved-from object is in the same state as if
- constructed using the <code class="computeroutput">basic_waitable_timer(io_context&amp;) constructor</code>.
- </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright &#169; 2003-2018 Christopher M. Kohlhoff<p>
+<td align="right"><div class="copyright-footer">Copyright &#169; 2003-2019 Christopher M. Kohlhoff<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
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>)
</p>
@@ -70,7 +71,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="overload3.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.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="../cancel.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
+<a accesskey="p" href="overload3.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_waitable_timer.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="overload5.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>