This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
XF/test-bench/doxygen/output/html/statemachine04a_8h_source.html

131 lines
16 KiB
HTML
Raw Normal View History

2023-09-19 13:59:49 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>XF Test Bench: C:/Users/thomas.sterren/Desktop/PTR_XF_Release/03-release/work/test-bench/test4/src/app/statemachine04a.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">XF Test Bench<span id="projectnumber">&#160;3.3</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_3e0d2c868be6a3e5150a628fd2a00a9b.html">test4</a></li><li class="navelem"><a class="el" href="dir_6e75a17059e2e7fdde7c9289c2ed92a7.html">src</a></li><li class="navelem"><a class="el" href="dir_ef5ec6f15bc519b773c1cd6cf32bc83d.html">app</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">statemachine04a.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef STATEMACHINE04A_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define STATEMACHINE04A_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include &quot;xf/behavior.h&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="class_state_machine04a.html"> 16</a></span><span class="keyword">class </span><a class="code hl_class" href="class_state_machine04a.html">StateMachine04a</a> : <span class="keyword">public</span> XFBehavior</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span>{</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_function" href="class_state_machine04a.html#a6c3abbbc6d25d5ce8ae706f0ca2eeba1">StateMachine04a</a>(); </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_class" href="class_state_machine04a.html">~StateMachine04a</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_state_machine04a.html#a5eae61a7f237b988e771aaa03d963f0e">setNeighbour</a>(XFBehavior * pNeighbour);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> XFBehavior * <a class="code hl_function" href="class_state_machine04a.html#a886f82be81f8e86f5a547566a9001235">getNeighbour</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> XFEventStatus <a class="code hl_function" href="class_state_machine04a.html#a44e8910da144002fe813766c9d782ed7">processEvent</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68"> 32</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <a class="code hl_enumvalue" href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68a1cd71cb27b8244b44176d1a1f6ccecca">Timeout_WAIT_id</a> = 1 </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68a1cd71cb27b8244b44176d1a1f6ccecca"> 35</a></span> } <a class="code hl_enumeration" href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68">eTimeoutId</a>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51"> 41</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51af8c94bff385edbe4b218605215294b8a"> 43</a></span> <a class="code hl_enumvalue" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51af8c94bff385edbe4b218605215294b8a">STATE_UNKOWN</a> = 0, </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a0c0af5cec02b5b0a0464a63e7a32993c"> 44</a></span> <a class="code hl_enumvalue" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a0c0af5cec02b5b0a0464a63e7a32993c">STATE_INITIAL</a> = 1, </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a84835750aa57dd071c371a2eaaccfb91"> 45</a></span> <a class="code hl_enumvalue" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a84835750aa57dd071c371a2eaaccfb91">STATE_WAIT</a> = 2, </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51ac2488a8f558fb99cf703d4f7b6dd5bdb">STATE_SEND_RESTART</a> = 3 </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51ac2488a8f558fb99cf703d4f7b6dd5bdb"> 47</a></span> } <a class="code hl_enumeration" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51">eMainState</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#ae821698ee4c11c1708fa78bb41d387ab"> 49</a></span> <a class="code hl_enumeration" href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51">eMainState</a> <a class="code hl_variable" href="class_state_machine04a.html#ae821698ee4c11c1708fa78bb41d387ab">currentState_</a>; </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="class_state_machine04a.html#a0d55df85f742f036801b28f060b88438"> 51</a></span> XFBehavior * <a class="code hl_variable" href="class_state_machine04a.html#a0d55df85f742f036801b28f060b88438">pNeighbour_</a>; </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span>};</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="preprocessor">#endif </span><span class="comment">// STATEMACHINE04A_H</span></div>
<div class="ttc" id="aclass_state_machine04a_html"><div class="ttname"><a href="class_state_machine04a.html">StateMachine04a</a></div><div class="ttdef"><b>Definition:</b> statemachine04a.h:17</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a0d55df85f742f036801b28f060b88438"><div class="ttname"><a href="class_state_machine04a.html#a0d55df85f742f036801b28f060b88438">StateMachine04a::pNeighbour_</a></div><div class="ttdeci">XFBehavior * pNeighbour_</div><div class="ttdoc">Association to the neigbour state machine.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:51</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a44e8910da144002fe813766c9d782ed7"><div class="ttname"><a href="class_state_machine04a.html#a44e8910da144002fe813766c9d782ed7">StateMachine04a::processEvent</a></div><div class="ttdeci">XFEventStatus processEvent() override</div><div class="ttdef"><b>Definition:</b> statemachine04a.cpp:38</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5436c68577266affa8e9bd0b32f74b51"><div class="ttname"><a href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51">StateMachine04a::eMainState</a></div><div class="ttdeci">eMainState</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:42</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5436c68577266affa8e9bd0b32f74b51a0c0af5cec02b5b0a0464a63e7a32993c"><div class="ttname"><a href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a0c0af5cec02b5b0a0464a63e7a32993c">StateMachine04a::STATE_INITIAL</a></div><div class="ttdeci">@ STATE_INITIAL</div><div class="ttdoc">Initial state.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:44</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5436c68577266affa8e9bd0b32f74b51a84835750aa57dd071c371a2eaaccfb91"><div class="ttname"><a href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51a84835750aa57dd071c371a2eaaccfb91">StateMachine04a::STATE_WAIT</a></div><div class="ttdeci">@ STATE_WAIT</div><div class="ttdoc">Wait state.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:45</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5436c68577266affa8e9bd0b32f74b51ac2488a8f558fb99cf703d4f7b6dd5bdb"><div class="ttname"><a href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51ac2488a8f558fb99cf703d4f7b6dd5bdb">StateMachine04a::STATE_SEND_RESTART</a></div><div class="ttdeci">@ STATE_SEND_RESTART</div><div class="ttdoc">State sending an restart event.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:46</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5436c68577266affa8e9bd0b32f74b51af8c94bff385edbe4b218605215294b8a"><div class="ttname"><a href="class_state_machine04a.html#a5436c68577266affa8e9bd0b32f74b51af8c94bff385edbe4b218605215294b8a">StateMachine04a::STATE_UNKOWN</a></div><div class="ttdeci">@ STATE_UNKOWN</div><div class="ttdoc">Unknown state.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:43</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a5eae61a7f237b988e771aaa03d963f0e"><div class="ttname"><a href="class_state_machine04a.html#a5eae61a7f237b988e771aaa03d963f0e">StateMachine04a::setNeighbour</a></div><div class="ttdeci">void setNeighbour(XFBehavior *pNeighbour)</div><div class="ttdef"><b>Definition:</b> statemachine04a.cpp:21</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a6c3abbbc6d25d5ce8ae706f0ca2eeba1"><div class="ttname"><a href="class_state_machine04a.html#a6c3abbbc6d25d5ce8ae706f0ca2eeba1">StateMachine04a::StateMachine04a</a></div><div class="ttdeci">StateMachine04a()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> statemachine04a.cpp:6</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a886f82be81f8e86f5a547566a9001235"><div class="ttname"><a href="class_state_machine04a.html#a886f82be81f8e86f5a547566a9001235">StateMachine04a::getNeighbour</a></div><div class="ttdeci">XFBehavior * getNeighbour() const</div><div class="ttdef"><b>Definition:</b> statemachine04a.cpp:29</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a8c08db4187f3fba8e469362d722dad68"><div class="ttname"><a href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68">StateMachine04a::eTimeoutId</a></div><div class="ttdeci">eTimeoutId</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:33</div></div>
<div class="ttc" id="aclass_state_machine04a_html_a8c08db4187f3fba8e469362d722dad68a1cd71cb27b8244b44176d1a1f6ccecca"><div class="ttname"><a href="class_state_machine04a.html#a8c08db4187f3fba8e469362d722dad68a1cd71cb27b8244b44176d1a1f6ccecca">StateMachine04a::Timeout_WAIT_id</a></div><div class="ttdeci">@ Timeout_WAIT_id</div><div class="ttdoc">Timeout id for WAIT.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:34</div></div>
<div class="ttc" id="aclass_state_machine04a_html_ae821698ee4c11c1708fa78bb41d387ab"><div class="ttname"><a href="class_state_machine04a.html#ae821698ee4c11c1708fa78bb41d387ab">StateMachine04a::currentState_</a></div><div class="ttdeci">eMainState currentState_</div><div class="ttdoc">Attribute indicating currently active state.</div><div class="ttdef"><b>Definition:</b> statemachine04a.h:49</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 19 2023 10:36:35 for XF Test Bench by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>