• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>serial_port_base</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="../reference.html" title="Reference">
9<link rel="prev" href="serial_port.html" title="serial_port">
10<link rel="next" href="serial_port_base/_serial_port_base.html" title="serial_port_base::~serial_port_base">
11</head>
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>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="serial_port.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="serial_port_base/_serial_port_base.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_asio.reference.serial_port_base"></a><a class="link" href="serial_port_base.html" title="serial_port_base">serial_port_base</a>
28</h3></div></div></div>
29<p>
30        The <a class="link" href="serial_port_base.html" title="serial_port_base"><code class="computeroutput">serial_port_base</code></a>
31        class is used as a base for the <a class="link" href="basic_serial_port.html" title="basic_serial_port"><code class="computeroutput">basic_serial_port</code></a>
32        class template so that we have a common place to define the serial port options.
33      </p>
34<pre class="programlisting">class serial_port_base
35</pre>
36<h5>
37<a name="boost_asio.reference.serial_port_base.h0"></a>
38        <span class="phrase"><a name="boost_asio.reference.serial_port_base.types"></a></span><a class="link" href="serial_port_base.html#boost_asio.reference.serial_port_base.types">Types</a>
39      </h5>
40<div class="informaltable"><table class="table">
41<colgroup>
42<col>
43<col>
44</colgroup>
45<thead><tr>
46<th>
47                <p>
48                  Name
49                </p>
50              </th>
51<th>
52                <p>
53                  Description
54                </p>
55              </th>
56</tr></thead>
57<tbody>
58<tr>
59<td>
60                <p>
61                  <a class="link" href="serial_port_base__baud_rate.html" title="serial_port_base::baud_rate"><span class="bold"><strong>baud_rate</strong></span></a>
62                </p>
63              </td>
64<td>
65                <p>
66                  Serial port option to permit changing the baud rate.
67                </p>
68              </td>
69</tr>
70<tr>
71<td>
72                <p>
73                  <a class="link" href="serial_port_base__character_size.html" title="serial_port_base::character_size"><span class="bold"><strong>character_size</strong></span></a>
74                </p>
75              </td>
76<td>
77                <p>
78                  Serial port option to permit changing the character size.
79                </p>
80              </td>
81</tr>
82<tr>
83<td>
84                <p>
85                  <a class="link" href="serial_port_base__flow_control.html" title="serial_port_base::flow_control"><span class="bold"><strong>flow_control</strong></span></a>
86                </p>
87              </td>
88<td>
89                <p>
90                  Serial port option to permit changing the flow control.
91                </p>
92              </td>
93</tr>
94<tr>
95<td>
96                <p>
97                  <a class="link" href="serial_port_base__parity.html" title="serial_port_base::parity"><span class="bold"><strong>parity</strong></span></a>
98                </p>
99              </td>
100<td>
101                <p>
102                  Serial port option to permit changing the parity.
103                </p>
104              </td>
105</tr>
106<tr>
107<td>
108                <p>
109                  <a class="link" href="serial_port_base__stop_bits.html" title="serial_port_base::stop_bits"><span class="bold"><strong>stop_bits</strong></span></a>
110                </p>
111              </td>
112<td>
113                <p>
114                  Serial port option to permit changing the number of stop bits.
115                </p>
116              </td>
117</tr>
118</tbody>
119</table></div>
120<h5>
121<a name="boost_asio.reference.serial_port_base.h1"></a>
122        <span class="phrase"><a name="boost_asio.reference.serial_port_base.protected_member_functions"></a></span><a class="link" href="serial_port_base.html#boost_asio.reference.serial_port_base.protected_member_functions">Protected
123        Member Functions</a>
124      </h5>
125<div class="informaltable"><table class="table">
126<colgroup>
127<col>
128<col>
129</colgroup>
130<thead><tr>
131<th>
132                <p>
133                  Name
134                </p>
135              </th>
136<th>
137                <p>
138                  Description
139                </p>
140              </th>
141</tr></thead>
142<tbody><tr>
143<td>
144                <p>
145                  <a class="link" href="serial_port_base/_serial_port_base.html" title="serial_port_base::~serial_port_base"><span class="bold"><strong>~serial_port_base</strong></span></a> <span class="silver">[destructor]</span>
146                </p>
147              </td>
148<td>
149                <p>
150                  Protected destructor to prevent deletion through this type.
151                </p>
152              </td>
153</tr></tbody>
154</table></div>
155<h5>
156<a name="boost_asio.reference.serial_port_base.h2"></a>
157        <span class="phrase"><a name="boost_asio.reference.serial_port_base.requirements"></a></span><a class="link" href="serial_port_base.html#boost_asio.reference.serial_port_base.requirements">Requirements</a>
158      </h5>
159<p>
160        <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/serial_port_base.hpp</code>
161      </p>
162<p>
163        <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code>
164      </p>
165</div>
166<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
167<td align="left"></td>
168<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M.
169      Kohlhoff<p>
170        Distributed under the Boost Software License, Version 1.0. (See accompanying
171        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>)
172      </p>
173</div></td>
174</tr></table>
175<hr>
176<div class="spirit-nav">
177<a accesskey="p" href="serial_port.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="serial_port_base/_serial_port_base.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
178</div>
179</body>
180</html>
181