source: flair-dev/trunk/doc/Flair/classflair_1_1core_1_1_unix___serial_port.html @ 44

Last change on this file since 44 was 44, checked in by Sanahuja Guillaume, 4 years ago

m

File size: 29.9 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.9.1"/>
7<title>Flair: flair::core::Unix_SerialPort Class Reference</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtreedata.js"></script>
14<script type="text/javascript" src="navtree.js"></script>
15<script type="text/javascript">
16  $(document).ready(initResizable);
17  $(window).load(resizeHeight);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<script type="text/javascript">
23  $(document).ready(function() { init_search(); });
24</script>
25<link href="doxygen.css" rel="stylesheet" type="text/css" />
26</head>
27<body>
28<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
29<div id="titlearea">
30<table cellspacing="0" cellpadding="0">
31 <tbody>
32 <tr style="height: 56px;">
33  <td id="projectlogo"><img alt="Logo" src="logo_hds.png"/></td>
34  <td style="padding-left: 0.5em;">
35   <div id="projectname">Flair
36   </div>
37   <div id="projectbrief">Framework Libre Air</div>
38  </td>
39 </tr>
40 </tbody>
41</table>
42</div>
43<!-- end header part -->
44<!-- Generated by Doxygen 1.8.9.1 -->
45<script type="text/javascript">
46var searchBox = new SearchBox("searchBox", "search",false,'Search');
47</script>
48  <div id="navrow1" class="tabs">
49    <ul class="tablist">
50      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
51      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
52      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
53      <li><a href="files.html"><span>Files</span></a></li>
54      <li>
55        <div id="MSearchBox" class="MSearchBoxInactive">
56        <span class="left">
57          <img id="MSearchSelect" src="search/mag_sel.png"
58               onmouseover="return searchBox.OnSearchSelectShow()"
59               onmouseout="return searchBox.OnSearchSelectHide()"
60               alt=""/>
61          <input type="text" id="MSearchField" value="Search" accesskey="S"
62               onfocus="searchBox.OnSearchFieldFocus(true)" 
63               onblur="searchBox.OnSearchFieldFocus(false)" 
64               onkeyup="searchBox.OnSearchFieldChange(event)"/>
65          </span><span class="right">
66            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
67          </span>
68        </div>
69      </li>
70    </ul>
71  </div>
72  <div id="navrow2" class="tabs2">
73    <ul class="tablist">
74      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
75      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
76      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
77      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
78    </ul>
79  </div>
80</div><!-- top -->
81<div id="side-nav" class="ui-resizable side-nav-resizable">
82  <div id="nav-tree">
83    <div id="nav-tree-contents">
84      <div id="nav-sync" class="sync"></div>
85    </div>
86  </div>
87  <div id="splitbar" style="-moz-user-select:none;" 
88       class="ui-resizable-handle">
89  </div>
90</div>
91<script type="text/javascript">
92$(document).ready(function(){initNavTree('classflair_1_1core_1_1_unix___serial_port.html','');});
93</script>
94<div id="doc-content">
95<!-- window showing the filter options -->
96<div id="MSearchSelectWindow"
97     onmouseover="return searchBox.OnSearchSelectShow()"
98     onmouseout="return searchBox.OnSearchSelectHide()"
99     onkeydown="return searchBox.OnSearchSelectKey(event)">
100</div>
101
102<!-- iframe showing the search results (closed by default) -->
103<div id="MSearchResultsWindow">
104<iframe src="javascript:void(0)" frameborder="0" 
105        name="MSearchResults" id="MSearchResults">
106</iframe>
107</div>
108
109<div class="header">
110  <div class="summary">
111<a href="#pub-methods">Public Member Functions</a> &#124;
112<a href="classflair_1_1core_1_1_unix___serial_port-members.html">List of all members</a>  </div>
113  <div class="headertitle">
114<div class="title">flair::core::Unix_SerialPort Class Reference</div>  </div>
115</div><!--header-->
116<div class="contents">
117<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
118  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for flair::core::Unix_SerialPort:</div>
119<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
120</div>
121<div id="dynsection-0-content" class="dyncontent" style="display:none;">
122 <div class="center">
123  <img src="classflair_1_1core_1_1_unix___serial_port.png" usemap="#flair::core::Unix_SerialPort_map" alt=""/>
124  <map id="flair::core::Unix_SerialPort_map" name="flair::core::Unix_SerialPort_map">
125<area href="classflair_1_1core_1_1_serial_port.html" title="Base class for serial port. " alt="flair::core::SerialPort" shape="rect" coords="0,56,159,80"/>
126<area href="classflair_1_1core_1_1_object.html" title="Base class for all Framework&#39;s classes. " alt="flair::core::Object" shape="rect" coords="0,0,159,24"/>
127</map>
128 </div></div>
129<table class="memberdecls">
130<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
131Public Member Functions</h2></td></tr>
132<tr class="memitem:a8a2dcd6d2f9f34046ebbe8443ed8bee8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a8a2dcd6d2f9f34046ebbe8443ed8bee8">Unix_SerialPort</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string port_name, std::string device)</td></tr>
133<tr class="memdesc:a8a2dcd6d2f9f34046ebbe8443ed8bee8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a8a2dcd6d2f9f34046ebbe8443ed8bee8">More...</a><br /></td></tr>
134<tr class="separator:a8a2dcd6d2f9f34046ebbe8443ed8bee8"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<tr class="memitem:a4f875c351011610d7675f82200b93a3d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a4f875c351011610d7675f82200b93a3d">~Unix_SerialPort</a> ()</td></tr>
136<tr class="memdesc:a4f875c351011610d7675f82200b93a3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a4f875c351011610d7675f82200b93a3d">More...</a><br /></td></tr>
137<tr class="separator:a4f875c351011610d7675f82200b93a3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
138<tr class="memitem:ad62c002d6eedf55541c2290ec48b0e75"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#ad62c002d6eedf55541c2290ec48b0e75">SetBaudrate</a> (int baudrate)</td></tr>
139<tr class="memdesc:ad62c002d6eedf55541c2290ec48b0e75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set baudrate.  <a href="#ad62c002d6eedf55541c2290ec48b0e75">More...</a><br /></td></tr>
140<tr class="separator:ad62c002d6eedf55541c2290ec48b0e75"><td class="memSeparator" colspan="2">&#160;</td></tr>
141<tr class="memitem:a006b93a07dd0e81eb8cdfd07b6439cd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a006b93a07dd0e81eb8cdfd07b6439cd9">SetRxTimeout</a> (<a class="el" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">Time</a> timeout_ns)</td></tr>
142<tr class="memdesc:a006b93a07dd0e81eb8cdfd07b6439cd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set RX timeout.  <a href="#a006b93a07dd0e81eb8cdfd07b6439cd9">More...</a><br /></td></tr>
143<tr class="separator:a006b93a07dd0e81eb8cdfd07b6439cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:a38880de840bde249a00f7b1837e77479"><td class="memItemLeft" align="right" valign="top">ssize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a38880de840bde249a00f7b1837e77479">Write</a> (const void *buf, size_t nbyte)</td></tr>
145<tr class="memdesc:a38880de840bde249a00f7b1837e77479"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write datas.  <a href="#a38880de840bde249a00f7b1837e77479">More...</a><br /></td></tr>
146<tr class="separator:a38880de840bde249a00f7b1837e77479"><td class="memSeparator" colspan="2">&#160;</td></tr>
147<tr class="memitem:a728b2c89f129e7fbf5ce365f58f777b3"><td class="memItemLeft" align="right" valign="top">ssize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a728b2c89f129e7fbf5ce365f58f777b3">Read</a> (void *buf, size_t nbyte)</td></tr>
148<tr class="memdesc:a728b2c89f129e7fbf5ce365f58f777b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read datas.  <a href="#a728b2c89f129e7fbf5ce365f58f777b3">More...</a><br /></td></tr>
149<tr class="separator:a728b2c89f129e7fbf5ce365f58f777b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:a59cc8e9f58acc35325d29b43a473a823"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html#a59cc8e9f58acc35325d29b43a473a823">FlushInput</a> (void)</td></tr>
151<tr class="memdesc:a59cc8e9f58acc35325d29b43a473a823"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush input datas.  <a href="#a59cc8e9f58acc35325d29b43a473a823">More...</a><br /></td></tr>
152<tr class="separator:a59cc8e9f58acc35325d29b43a473a823"><td class="memSeparator" colspan="2">&#160;</td></tr>
153<tr class="inherit_header pub_methods_classflair_1_1core_1_1_serial_port"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_serial_port')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_serial_port.html">flair::core::SerialPort</a></td></tr>
154<tr class="memitem:aa6f8c5f8c8a9e435635b1730feebc90c inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_serial_port.html#aa6f8c5f8c8a9e435635b1730feebc90c">SerialPort</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent, std::string name)</td></tr>
155<tr class="memdesc:aa6f8c5f8c8a9e435635b1730feebc90c inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa6f8c5f8c8a9e435635b1730feebc90c">More...</a><br /></td></tr>
156<tr class="separator:aa6f8c5f8c8a9e435635b1730feebc90c inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="memSeparator" colspan="2">&#160;</td></tr>
157<tr class="memitem:aeb4eab5de344483667176a101607bb68 inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_serial_port.html#aeb4eab5de344483667176a101607bb68">~SerialPort</a> ()</td></tr>
158<tr class="memdesc:aeb4eab5de344483667176a101607bb68 inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aeb4eab5de344483667176a101607bb68">More...</a><br /></td></tr>
159<tr class="separator:aeb4eab5de344483667176a101607bb68 inherit pub_methods_classflair_1_1core_1_1_serial_port"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="inherit_header pub_methods_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
161<tr class="memitem:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aec92383fd5bf68d9df10414862b7e95c">Object</a> (const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *parent=NULL, std::string name=&quot;&quot;, std::string type=&quot;&quot;)</td></tr>
162<tr class="memdesc:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aec92383fd5bf68d9df10414862b7e95c">More...</a><br /></td></tr>
163<tr class="separator:aec92383fd5bf68d9df10414862b7e95c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
164<tr class="memitem:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#aa2bde0e6677bbef705c96c93cb06ad09">~Object</a> ()</td></tr>
165<tr class="memdesc:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#aa2bde0e6677bbef705c96c93cb06ad09">More...</a><br /></td></tr>
166<tr class="separator:aa2bde0e6677bbef705c96c93cb06ad09 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
167<tr class="memitem:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a9b0344dff7e1c05424d9152c8274523a">ObjectName</a> (void) const </td></tr>
168<tr class="memdesc:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name.  <a href="#a9b0344dff7e1c05424d9152c8274523a">More...</a><br /></td></tr>
169<tr class="separator:a9b0344dff7e1c05424d9152c8274523a inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a609a250ec037fbcaf8957c8f1dcbfc53">ObjectType</a> (void) const </td></tr>
171<tr class="memdesc:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type.  <a href="#a609a250ec037fbcaf8957c8f1dcbfc53">More...</a><br /></td></tr>
172<tr class="separator:a609a250ec037fbcaf8957c8f1dcbfc53 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
173<tr class="memitem:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a360c112cc3017a5152ebf6e84d2efa70">Parent</a> (void) const </td></tr>
174<tr class="memdesc:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parent.  <a href="#a360c112cc3017a5152ebf6e84d2efa70">More...</a><br /></td></tr>
175<tr class="separator:a360c112cc3017a5152ebf6e84d2efa70 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<tr class="memitem:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#ae22db4d723ec2d50b3ba48f26a6a770c">TypeChilds</a> (void) const </td></tr>
177<tr class="memdesc:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs of the same type.  <a href="#ae22db4d723ec2d50b3ba48f26a6a770c">More...</a><br /></td></tr>
178<tr class="separator:ae22db4d723ec2d50b3ba48f26a6a770c inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
179<tr class="memitem:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">std::vector&lt; const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> * &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a344f81cd35805a9501098bf727ac1a10">Childs</a> (void) const </td></tr>
180<tr class="memdesc:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Childs.  <a href="#a344f81cd35805a9501098bf727ac1a10">More...</a><br /></td></tr>
181<tr class="separator:a344f81cd35805a9501098bf727ac1a10 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
182<tr class="memitem:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#af001feba14fc053aa778e61080a0b4cf">Information</a> (const char *function, int line, const char *format,...) const </td></tr>
183<tr class="memdesc:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted information.  <a href="#af001feba14fc053aa778e61080a0b4cf">More...</a><br /></td></tr>
184<tr class="separator:af001feba14fc053aa778e61080a0b4cf inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
185<tr class="memitem:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a168b18451b2ee6126e1e81d452005ff6">Warning</a> (const char *function, const char *format,...) const </td></tr>
186<tr class="memdesc:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted warning.  <a href="#a168b18451b2ee6126e1e81d452005ff6">More...</a><br /></td></tr>
187<tr class="separator:a168b18451b2ee6126e1e81d452005ff6 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<tr class="memitem:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a3ca9694d29ec2b0491739879685df5ca">Error</a> (const char *function, const char *format,...) const </td></tr>
189<tr class="memdesc:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatted error.  <a href="#a3ca9694d29ec2b0491739879685df5ca">More...</a><br /></td></tr>
190<tr class="separator:a3ca9694d29ec2b0491739879685df5ca inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<tr class="memitem:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflair_1_1core_1_1_object.html#a36cdd7f556e78b1bddd1d1fe4264bb85">ErrorOccured</a> (bool recursive=true) const </td></tr>
192<tr class="memdesc:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Has an errror occured?  <a href="#a36cdd7f556e78b1bddd1d1fe4264bb85">More...</a><br /></td></tr>
193<tr class="separator:a36cdd7f556e78b1bddd1d1fe4264bb85 inherit pub_methods_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
194</table><table class="memberdecls">
195<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
196Additional Inherited Members</h2></td></tr>
197<tr class="inherit_header pub_types_classflair_1_1core_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classflair_1_1core_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classflair_1_1core_1_1_object.html">flair::core::Object</a></td></tr>
198<tr class="memitem:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed5fccda511f97487040fed29f4efc97"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>color_t</b> { <b>Auto</b> = 0,
199<b>Red</b> = 31,
200<b>Green</b> = 32,
201<b>Orange</b> = 33
202 }</td></tr>
203<tr class="separator:aed5fccda511f97487040fed29f4efc97 inherit pub_types_classflair_1_1core_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
204</table>
205<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
206<a class="anchor" id="a8a2dcd6d2f9f34046ebbe8443ed8bee8"></a>
207<div class="memitem">
208<div class="memproto">
209      <table class="memname">
210        <tr>
211          <td class="memname">flair::core::Unix_SerialPort::Unix_SerialPort </td>
212          <td>(</td>
213          <td class="paramtype">const <a class="el" href="classflair_1_1core_1_1_object.html">Object</a> *&#160;</td>
214          <td class="paramname"><em>parent</em>, </td>
215        </tr>
216        <tr>
217          <td class="paramkey"></td>
218          <td></td>
219          <td class="paramtype">std::string&#160;</td>
220          <td class="paramname"><em>port_name</em>, </td>
221        </tr>
222        <tr>
223          <td class="paramkey"></td>
224          <td></td>
225          <td class="paramtype">std::string&#160;</td>
226          <td class="paramname"><em>device</em>&#160;</td>
227        </tr>
228        <tr>
229          <td></td>
230          <td>)</td>
231          <td></td><td></td>
232        </tr>
233      </table>
234</div><div class="memdoc">
235
236<p>Constructor. </p>
237<p>Construct an unix serial port, with the following default values: <br />
238</p><ul>
239<li>115200bps baudrate</li>
240</ul>
241<dl class="params"><dt>Parameters</dt><dd>
242  <table class="params">
243    <tr><td class="paramname">parent</td><td>parent </td></tr>
244    <tr><td class="paramname">name</td><td>name </td></tr>
245    <tr><td class="paramname">device</td><td>serial device (ex rtser1) </td></tr>
246  </table>
247  </dd>
248</dl>
249
250</div>
251</div>
252<a class="anchor" id="a4f875c351011610d7675f82200b93a3d"></a>
253<div class="memitem">
254<div class="memproto">
255      <table class="memname">
256        <tr>
257          <td class="memname">flair::core::Unix_SerialPort::~Unix_SerialPort </td>
258          <td>(</td>
259          <td class="paramname"></td><td>)</td>
260          <td></td>
261        </tr>
262      </table>
263</div><div class="memdoc">
264
265<p>Destructor. </p>
266
267</div>
268</div>
269<h2 class="groupheader">Member Function Documentation</h2>
270<a class="anchor" id="ad62c002d6eedf55541c2290ec48b0e75"></a>
271<div class="memitem">
272<div class="memproto">
273<table class="mlabels">
274  <tr>
275  <td class="mlabels-left">
276      <table class="memname">
277        <tr>
278          <td class="memname">void flair::core::Unix_SerialPort::SetBaudrate </td>
279          <td>(</td>
280          <td class="paramtype">int&#160;</td>
281          <td class="paramname"><em>baudrate</em></td><td>)</td>
282          <td></td>
283        </tr>
284      </table>
285  </td>
286  <td class="mlabels-right">
287<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
288  </tr>
289</table>
290</div><div class="memdoc">
291
292<p>Set baudrate. </p>
293<dl class="params"><dt>Parameters</dt><dd>
294  <table class="params">
295    <tr><td class="paramname">baudrate</td><td>baudrate </td></tr>
296  </table>
297  </dd>
298</dl>
299
300<p>Implements <a class="el" href="classflair_1_1core_1_1_serial_port.html#ad9f27342a1d501d7cd64eb3a215572fe">flair::core::SerialPort</a>.</p>
301
302</div>
303</div>
304<a class="anchor" id="a006b93a07dd0e81eb8cdfd07b6439cd9"></a>
305<div class="memitem">
306<div class="memproto">
307<table class="mlabels">
308  <tr>
309  <td class="mlabels-left">
310      <table class="memname">
311        <tr>
312          <td class="memname">void flair::core::Unix_SerialPort::SetRxTimeout </td>
313          <td>(</td>
314          <td class="paramtype"><a class="el" href="namespaceflair_1_1core.html#acc0fa041e08ecf73b2d1d723c339a736">Time</a>&#160;</td>
315          <td class="paramname"><em>timeout_ns</em></td><td>)</td>
316          <td></td>
317        </tr>
318      </table>
319  </td>
320  <td class="mlabels-right">
321<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
322  </tr>
323</table>
324</div><div class="memdoc">
325
326<p>Set RX timeout. </p>
327<p>Timeout for waiting datas.</p>
328<dl class="params"><dt>Parameters</dt><dd>
329  <table class="params">
330    <tr><td class="paramname">timeout_ns</td><td>timeout in nano second </td></tr>
331  </table>
332  </dd>
333</dl>
334
335<p>Implements <a class="el" href="classflair_1_1core_1_1_serial_port.html#a54b5711f111f84656201dcd2ac2c03cf">flair::core::SerialPort</a>.</p>
336
337</div>
338</div>
339<a class="anchor" id="a38880de840bde249a00f7b1837e77479"></a>
340<div class="memitem">
341<div class="memproto">
342<table class="mlabels">
343  <tr>
344  <td class="mlabels-left">
345      <table class="memname">
346        <tr>
347          <td class="memname">ssize_t flair::core::Unix_SerialPort::Write </td>
348          <td>(</td>
349          <td class="paramtype">const void *&#160;</td>
350          <td class="paramname"><em>buf</em>, </td>
351        </tr>
352        <tr>
353          <td class="paramkey"></td>
354          <td></td>
355          <td class="paramtype">size_t&#160;</td>
356          <td class="paramname"><em>nbyte</em>&#160;</td>
357        </tr>
358        <tr>
359          <td></td>
360          <td>)</td>
361          <td></td><td></td>
362        </tr>
363      </table>
364  </td>
365  <td class="mlabels-right">
366<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
367  </tr>
368</table>
369</div><div class="memdoc">
370
371<p>Write datas. </p>
372<dl class="params"><dt>Parameters</dt><dd>
373  <table class="params">
374    <tr><td class="paramname">buf</td><td>pointer to datas </td></tr>
375    <tr><td class="paramname">nbyte</td><td>length of datas</td></tr>
376  </table>
377  </dd>
378</dl>
379<dl class="section return"><dt>Returns</dt><dd>amount of written datas </dd></dl>
380
381<p>Implements <a class="el" href="classflair_1_1core_1_1_serial_port.html#ac67f66b90f567de20b77afc287504740">flair::core::SerialPort</a>.</p>
382
383</div>
384</div>
385<a class="anchor" id="a728b2c89f129e7fbf5ce365f58f777b3"></a>
386<div class="memitem">
387<div class="memproto">
388<table class="mlabels">
389  <tr>
390  <td class="mlabels-left">
391      <table class="memname">
392        <tr>
393          <td class="memname">ssize_t flair::core::Unix_SerialPort::Read </td>
394          <td>(</td>
395          <td class="paramtype">void *&#160;</td>
396          <td class="paramname"><em>buf</em>, </td>
397        </tr>
398        <tr>
399          <td class="paramkey"></td>
400          <td></td>
401          <td class="paramtype">size_t&#160;</td>
402          <td class="paramname"><em>nbyte</em>&#160;</td>
403        </tr>
404        <tr>
405          <td></td>
406          <td>)</td>
407          <td></td><td></td>
408        </tr>
409      </table>
410  </td>
411  <td class="mlabels-right">
412<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
413  </tr>
414</table>
415</div><div class="memdoc">
416
417<p>Read datas. </p>
418<dl class="params"><dt>Parameters</dt><dd>
419  <table class="params">
420    <tr><td class="paramname">buf</td><td>pointer to datas </td></tr>
421    <tr><td class="paramname">nbyte</td><td>length of datas</td></tr>
422  </table>
423  </dd>
424</dl>
425<dl class="section return"><dt>Returns</dt><dd>amount of read datas </dd></dl>
426
427<p>Implements <a class="el" href="classflair_1_1core_1_1_serial_port.html#a5e9f8971fc5ea70a2d66a771c6e7d711">flair::core::SerialPort</a>.</p>
428
429</div>
430</div>
431<a class="anchor" id="a59cc8e9f58acc35325d29b43a473a823"></a>
432<div class="memitem">
433<div class="memproto">
434<table class="mlabels">
435  <tr>
436  <td class="mlabels-left">
437      <table class="memname">
438        <tr>
439          <td class="memname">void flair::core::Unix_SerialPort::FlushInput </td>
440          <td>(</td>
441          <td class="paramtype">void&#160;</td>
442          <td class="paramname"></td><td>)</td>
443          <td></td>
444        </tr>
445      </table>
446  </td>
447  <td class="mlabels-right">
448<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
449  </tr>
450</table>
451</div><div class="memdoc">
452
453<p>Flush input datas. </p>
454
455<p>Implements <a class="el" href="classflair_1_1core_1_1_serial_port.html#aff9d6e015290651328785e94b133445d">flair::core::SerialPort</a>.</p>
456
457</div>
458</div>
459</div><!-- contents -->
460</div><!-- doc-content -->
461<!-- start footer part -->
462<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
463  <ul>
464    <li class="navelem"><a class="el" href="namespaceflair.html">flair</a></li><li class="navelem"><a class="el" href="namespaceflair_1_1core.html">core</a></li><li class="navelem"><a class="el" href="classflair_1_1core_1_1_unix___serial_port.html">Unix_SerialPort</a></li>
465    <li class="footer">Generated on Thu Jan 5 2017 11:01:22 for Flair by
466    <a href="http://www.doxygen.org/index.html">
467    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
468  </ul>
469</div>
470</body>
471</html>
Note: See TracBrowser for help on using the repository browser.