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

Last change on this file since 15 was 15, checked in by Sanahuja Guillaume, 5 years ago

m

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