3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>basic_serial_port::lowest_layer_type</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
8 <link rel="up" href="../basic_serial_port.html" title="basic_serial_port">
9 <link rel="prev" href="lowest_layer/overload2.html" title="basic_serial_port::lowest_layer (2 of 2 overloads)">
10 <link rel="next" href="native_handle.html" title="basic_serial_port::native_handle">
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="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_serial_port.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="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_asio.reference.basic_serial_port.lowest_layer_type"></a><a class="link" href="lowest_layer_type.html" title="basic_serial_port::lowest_layer_type">basic_serial_port::lowest_layer_type</a>
28 </h4></div></div></div>
30 <a class="indexterm" name="boost_asio.indexterm.basic_serial_port.lowest_layer_type"></a>
32 basic_basic_serial_port is always the lowest layer.
34 <pre class="programlisting">typedef basic_serial_port lowest_layer_type;
37 <a name="boost_asio.reference.basic_serial_port.lowest_layer_type.h0"></a>
38 <span class="phrase"><a name="boost_asio.reference.basic_serial_port.lowest_layer_type.types"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_serial_port.lowest_layer_type.types">Types</a>
40 <div class="informaltable"><table class="table">
61 <a class="link" href="../basic_serial_port__rebind_executor.html" title="basic_serial_port::rebind_executor"><span class="bold"><strong>rebind_executor</strong></span></a>
66 Rebinds the serial port type to another executor.
73 <a class="link" href="executor_type.html" title="basic_serial_port::executor_type"><span class="bold"><strong>executor_type</strong></span></a>
78 The type of the executor associated with the object.
85 <a class="link" href="lowest_layer_type.html" title="basic_serial_port::lowest_layer_type"><span class="bold"><strong>lowest_layer_type</strong></span></a>
90 A basic_basic_serial_port is always the lowest layer.
97 <a class="link" href="native_handle_type.html" title="basic_serial_port::native_handle_type"><span class="bold"><strong>native_handle_type</strong></span></a>
102 The native representation of a serial port.
109 <a name="boost_asio.reference.basic_serial_port.lowest_layer_type.h1"></a>
110 <span class="phrase"><a name="boost_asio.reference.basic_serial_port.lowest_layer_type.member_functions"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_serial_port.lowest_layer_type.member_functions">Member
113 <div class="informaltable"><table class="table">
134 <a class="link" href="assign.html" title="basic_serial_port::assign"><span class="bold"><strong>assign</strong></span></a>
139 Assign an existing native serial port to the serial port.
146 <a class="link" href="async_read_some.html" title="basic_serial_port::async_read_some"><span class="bold"><strong>async_read_some</strong></span></a>
151 Start an asynchronous read.
158 <a class="link" href="async_write_some.html" title="basic_serial_port::async_write_some"><span class="bold"><strong>async_write_some</strong></span></a>
163 Start an asynchronous write.
170 <a class="link" href="basic_serial_port.html" title="basic_serial_port::basic_serial_port"><span class="bold"><strong>basic_serial_port</strong></span></a>
175 Construct a basic_serial_port without opening it. <br> <span class="silver"> —</span><br>
176 Construct and open a basic_serial_port. <br> <span class="silver"> —</span><br> Construct
177 a basic_serial_port on an existing native serial port. <br>
178 <span class="silver"> —</span><br> Move-construct a basic_serial_port from another.
185 <a class="link" href="cancel.html" title="basic_serial_port::cancel"><span class="bold"><strong>cancel</strong></span></a>
190 Cancel all asynchronous operations associated with the serial
198 <a class="link" href="close.html" title="basic_serial_port::close"><span class="bold"><strong>close</strong></span></a>
203 Close the serial port.
210 <a class="link" href="get_executor.html" title="basic_serial_port::get_executor"><span class="bold"><strong>get_executor</strong></span></a>
215 Get the executor associated with the object.
222 <a class="link" href="get_option.html" title="basic_serial_port::get_option"><span class="bold"><strong>get_option</strong></span></a>
227 Get an option from the serial port.
234 <a class="link" href="is_open.html" title="basic_serial_port::is_open"><span class="bold"><strong>is_open</strong></span></a>
239 Determine whether the serial port is open.
246 <a class="link" href="lowest_layer.html" title="basic_serial_port::lowest_layer"><span class="bold"><strong>lowest_layer</strong></span></a>
251 Get a reference to the lowest layer. <br> <span class="silver"> —</span><br> Get a const
252 reference to the lowest layer.
259 <a class="link" href="native_handle.html" title="basic_serial_port::native_handle"><span class="bold"><strong>native_handle</strong></span></a>
264 Get the native serial port representation.
271 <a class="link" href="open.html" title="basic_serial_port::open"><span class="bold"><strong>open</strong></span></a>
276 Open the serial port using the specified device name.
283 <a class="link" href="operator_eq_.html" title="basic_serial_port::operator="><span class="bold"><strong>operator=</strong></span></a>
288 Move-assign a basic_serial_port from another.
295 <a class="link" href="read_some.html" title="basic_serial_port::read_some"><span class="bold"><strong>read_some</strong></span></a>
300 Read some data from the serial port.
307 <a class="link" href="send_break.html" title="basic_serial_port::send_break"><span class="bold"><strong>send_break</strong></span></a>
312 Send a break sequence to the serial port.
319 <a class="link" href="set_option.html" title="basic_serial_port::set_option"><span class="bold"><strong>set_option</strong></span></a>
324 Set an option on the serial port.
331 <a class="link" href="write_some.html" title="basic_serial_port::write_some"><span class="bold"><strong>write_some</strong></span></a>
336 Write some data to the serial port.
343 <a class="link" href="_basic_serial_port.html" title="basic_serial_port::~basic_serial_port"><span class="bold"><strong>~basic_serial_port</strong></span></a>
348 Destroys the serial port.
355 The <a class="link" href="../basic_serial_port.html" title="basic_serial_port"><code class="computeroutput">basic_serial_port</code></a>
356 class provides a wrapper over serial port functionality.
359 <a name="boost_asio.reference.basic_serial_port.lowest_layer_type.h2"></a>
360 <span class="phrase"><a name="boost_asio.reference.basic_serial_port.lowest_layer_type.thread_safety"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_serial_port.lowest_layer_type.thread_safety">Thread
364 <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
367 <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
370 <a name="boost_asio.reference.basic_serial_port.lowest_layer_type.h3"></a>
371 <span class="phrase"><a name="boost_asio.reference.basic_serial_port.lowest_layer_type.requirements"></a></span><a class="link" href="lowest_layer_type.html#boost_asio.reference.basic_serial_port.lowest_layer_type.requirements">Requirements</a>
374 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/basic_serial_port.hpp</code>
377 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
380 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
381 <td align="left"></td>
382 <td align="right"><div class="copyright-footer">Copyright © 2003-2019 Christopher M. Kohlhoff<p>
383 Distributed under the Boost Software License, Version 1.0. (See accompanying
384 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>)
389 <div class="spirit-nav">
390 <a accesskey="p" href="lowest_layer/overload2.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_serial_port.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="native_handle.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>