132 lines
16 KiB
HTML
132 lines
16 KiB
HTML
<!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/test2/src/app/statemachine02.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"> 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&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&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_165d86860ac47e817d278522cdfae0c4.html">test2</a></li><li class="navelem"><a class="el" href="dir_2f6d4c8555312b32c8876fcdf4145bf5.html">src</a></li><li class="navelem"><a class="el" href="dir_a5f20161a8237470793879428ba91a0d.html">app</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">statemachine02.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 STATEMACHINE02_H</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define STATEMACHINE02_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 <string></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include "xf/behavior.h"</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_machine02.html"> 16</a></span><span class="keyword">class </span><a class="code hl_class" href="class_state_machine02.html">StateMachine02</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_class" href="class_state_machine02.html">StateMachine02</a>();</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_class" href="class_state_machine02.html">~StateMachine02</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="keyword">protected</span>:</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> XFEventStatus <a class="code hl_function" href="class_state_machine02.html#a652724f5d376f82d20495bf83ed7ddb1">processEvent</a>() <span class="keyword">override</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="l00029" name="l00029"></a><span class="lineno"><a class="line" href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340"> 29</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> {</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_enumvalue" href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340a2a2438079c1fcb6609ca145efda26e21">Timeout_PRINT_COUNT_id</a> = 1 </div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340a2a2438079c1fcb6609ca145efda26e21"> 32</a></span> } <a class="code hl_enumeration" href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340">eTimeoutId</a>;</div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183"> 38</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> {</div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183af7a26cff5e477f917abd18f24579ff73"> 40</a></span> <a class="code hl_enumvalue" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183af7a26cff5e477f917abd18f24579ff73">STATE_UNKOWN</a> = 0, </div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a0c5a500675ff82c3cb9e1a49c58be411"> 41</a></span> <a class="code hl_enumvalue" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a0c5a500675ff82c3cb9e1a49c58be411">STATE_INITIAL</a> = 1, </div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a7e14b349d831c8a5f422b991ef9bc4ca"> 42</a></span> <a class="code hl_enumvalue" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a7e14b349d831c8a5f422b991ef9bc4ca">STATE_PRINT_COUNT</a> = 2, </div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a44bdea6e4ced029920e0996b4293b431"> 43</a></span> <a class="code hl_enumvalue" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a44bdea6e4ced029920e0996b4293b431">STATE_CONDITION_01</a> = 3, </div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <a class="code hl_enumvalue" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a66892f0c224b4943f02d14b91ca78e89">STATE_TERMINATION_01</a> = 4 </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a66892f0c224b4943f02d14b91ca78e89"> 45</a></span> } <a class="code hl_enumeration" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183">eMainState</a>;</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_state_machine02.html#ab3658eee88deeaa0ee6ad2583fadd737"> 47</a></span> <a class="code hl_enumeration" href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183">eMainState</a> <a class="code hl_variable" href="class_state_machine02.html#ab3658eee88deeaa0ee6ad2583fadd737">_currentState</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_machine02.html#a099af89e1bf7e2c33f6fa5b383816203"> 49</a></span> <span class="keyword">static</span> uint32_t <a class="code hl_variable" href="class_state_machine02.html#a099af89e1bf7e2c33f6fa5b383816203">nextId</a>; </div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="class_state_machine02.html#aae20bcd66cb2a36e9a8d1bd66feccc3c"> 50</a></span> <span class="keyword">const</span> uint32_t <a class="code hl_variable" href="class_state_machine02.html#aae20bcd66cb2a36e9a8d1bd66feccc3c">id</a>; </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="class_state_machine02.html#a143f2d5d2402b0f92141f4962a5b03dc"> 52</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="class_state_machine02.html#a143f2d5d2402b0f92141f4962a5b03dc">counter</a>; </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> </div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="preprocessor">#endif </span><span class="comment">// STATEMACHINE02_H</span></div>
|
|
<div class="ttc" id="aclass_state_machine02_html"><div class="ttname"><a href="class_state_machine02.html">StateMachine02</a></div><div class="ttdef"><b>Definition:</b> statemachine02.h:17</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_a099af89e1bf7e2c33f6fa5b383816203"><div class="ttname"><a href="class_state_machine02.html#a099af89e1bf7e2c33f6fa5b383816203">StateMachine02::nextId</a></div><div class="ttdeci">static uint32_t nextId</div><div class="ttdoc">Static attribute providing identifier for next object.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:49</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_a143f2d5d2402b0f92141f4962a5b03dc"><div class="ttname"><a href="class_state_machine02.html#a143f2d5d2402b0f92141f4962a5b03dc">StateMachine02::counter</a></div><div class="ttdeci">int counter</div><div class="ttdoc">Count down attribute used in state machine.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:52</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_a3f3d2bed279212d5ddd109a22c0d1340"><div class="ttname"><a href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340">StateMachine02::eTimeoutId</a></div><div class="ttdeci">eTimeoutId</div><div class="ttdef"><b>Definition:</b> statemachine02.h:30</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_a3f3d2bed279212d5ddd109a22c0d1340a2a2438079c1fcb6609ca145efda26e21"><div class="ttname"><a href="class_state_machine02.html#a3f3d2bed279212d5ddd109a22c0d1340a2a2438079c1fcb6609ca145efda26e21">StateMachine02::Timeout_PRINT_COUNT_id</a></div><div class="ttdeci">@ Timeout_PRINT_COUNT_id</div><div class="ttdoc">Timeout id for WAIT.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:31</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_a652724f5d376f82d20495bf83ed7ddb1"><div class="ttname"><a href="class_state_machine02.html#a652724f5d376f82d20495bf83ed7ddb1">StateMachine02::processEvent</a></div><div class="ttdeci">XFEventStatus processEvent() override</div><div class="ttdef"><b>Definition:</b> statemachine02.cpp:24</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_aae20bcd66cb2a36e9a8d1bd66feccc3c"><div class="ttname"><a href="class_state_machine02.html#aae20bcd66cb2a36e9a8d1bd66feccc3c">StateMachine02::id</a></div><div class="ttdeci">const uint32_t id</div><div class="ttdoc">Object identifier.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:50</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ab3658eee88deeaa0ee6ad2583fadd737"><div class="ttname"><a href="class_state_machine02.html#ab3658eee88deeaa0ee6ad2583fadd737">StateMachine02::_currentState</a></div><div class="ttdeci">eMainState _currentState</div><div class="ttdoc">Attribute indicating currently active state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:47</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183">StateMachine02::eMainState</a></div><div class="ttdeci">eMainState</div><div class="ttdef"><b>Definition:</b> statemachine02.h:39</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183a0c5a500675ff82c3cb9e1a49c58be411"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a0c5a500675ff82c3cb9e1a49c58be411">StateMachine02::STATE_INITIAL</a></div><div class="ttdeci">@ STATE_INITIAL</div><div class="ttdoc">Initial state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:41</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183a44bdea6e4ced029920e0996b4293b431"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a44bdea6e4ced029920e0996b4293b431">StateMachine02::STATE_CONDITION_01</a></div><div class="ttdeci">@ STATE_CONDITION_01</div><div class="ttdoc">Condition after print count state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:43</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183a66892f0c224b4943f02d14b91ca78e89"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a66892f0c224b4943f02d14b91ca78e89">StateMachine02::STATE_TERMINATION_01</a></div><div class="ttdeci">@ STATE_TERMINATION_01</div><div class="ttdoc">Termination state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:44</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183a7e14b349d831c8a5f422b991ef9bc4ca"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183a7e14b349d831c8a5f422b991ef9bc4ca">StateMachine02::STATE_PRINT_COUNT</a></div><div class="ttdeci">@ STATE_PRINT_COUNT</div><div class="ttdoc">Print count state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:42</div></div>
|
|
<div class="ttc" id="aclass_state_machine02_html_ad1ab359b87d41aa2ee32a812d366f183af7a26cff5e477f917abd18f24579ff73"><div class="ttname"><a href="class_state_machine02.html#ad1ab359b87d41aa2ee32a812d366f183af7a26cff5e477f917abd18f24579ff73">StateMachine02::STATE_UNKOWN</a></div><div class="ttdeci">@ STATE_UNKOWN</div><div class="ttdoc">Unkown state.</div><div class="ttdef"><b>Definition:</b> statemachine02.h:40</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 <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>
|