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/statemachine05a_8h_source.html

127 lines
15 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/test5/src/app/statemachine05a.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_7c7aec2e09033b4e32d2f5094befacd7.html">test5</a></li><li class="navelem"><a class="el" href="dir_114381abbc0b4fdad67f5e28caf1dae2.html">src</a></li><li class="navelem"><a class="el" href="dir_7654115db021302968cf4533bab8bbfa.html">app</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">statemachine05a.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 STATEMACHINE05A_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define STATEMACHINE05A_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="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_state_machine05a.html"> 18</a></span><span class="keyword">class </span><a class="code hl_class" href="class_state_machine05a.html">StateMachine05a</a> : <span class="keyword">public</span> XFBehavior</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>{</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <a class="code hl_function" href="class_state_machine05a.html#a09c9b5462668ad70fc623e6c1d42add5">StateMachine05a</a>(std::string text);</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_class" href="class_state_machine05a.html">~StateMachine05a</a>() <span class="keyword">override</span>;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> XFEventStatus <a class="code hl_function" href="class_state_machine05a.html#a638bd8c8185bb37f13df384393bfe0e0">processEvent</a>() <span class="keyword">override</span>; </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a682dfb3c3036cbe27a0ca63d86f50732"> 27</a></span> <span class="keyword">inline</span> std::string <a class="code hl_function" href="class_state_machine05a.html#a682dfb3c3036cbe27a0ca63d86f50732">getText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="class_state_machine05a.html#a7fa372f8683d28aa18f96740950934f5">text_</a>; } </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929c"> 33</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_enumvalue" href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929caf9b5289d5651e38ce3650a7d7d55f987">Timeout_SAY_HELLO_id</a> = 1 </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929caf9b5289d5651e38ce3650a7d7d55f987"> 36</a></span> } <a class="code hl_enumeration" href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929c">eTimeoutId</a>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179c"> 42</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca40fc48e78e734c795c0ce6718aa58000"> 44</a></span> <a class="code hl_enumvalue" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca40fc48e78e734c795c0ce6718aa58000">STATE_UNKNOWN</a> = 0, </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179cabe926d790e5d121d1aec53afdbef2588"> 45</a></span> <a class="code hl_enumvalue" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179cabe926d790e5d121d1aec53afdbef2588">STATE_INITIAL</a> = 1, </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca5f404f48d39362d0a2cbb5841f14ce90">STATE_SAY_TEXT</a> = 2 </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca5f404f48d39362d0a2cbb5841f14ce90"> 47</a></span> } <a class="code hl_enumeration" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179c">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_machine05a.html#a890b19f66f58724b213ce07f4770086c"> 49</a></span> <a class="code hl_enumeration" href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179c">eMainState</a> <a class="code hl_variable" href="class_state_machine05a.html#a890b19f66f58724b213ce07f4770086c">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_machine05a.html#a7fa372f8683d28aa18f96740950934f5"> 51</a></span> std::string <a class="code hl_variable" href="class_state_machine05a.html#a7fa372f8683d28aa18f96740950934f5">text_</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">// STATEMACHINE05A_H</span></div>
<div class="ttc" id="aclass_state_machine05a_html"><div class="ttname"><a href="class_state_machine05a.html">StateMachine05a</a></div><div class="ttdef"><b>Definition:</b> statemachine05a.h:19</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a09c9b5462668ad70fc623e6c1d42add5"><div class="ttname"><a href="class_state_machine05a.html#a09c9b5462668ad70fc623e6c1d42add5">StateMachine05a::StateMachine05a</a></div><div class="ttdeci">StateMachine05a(std::string text)</div><div class="ttdef"><b>Definition:</b> statemachine05a.cpp:10</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a514a5572dec383e11fc3a0744bac179c"><div class="ttname"><a href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179c">StateMachine05a::eMainState</a></div><div class="ttdeci">eMainState</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:43</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a514a5572dec383e11fc3a0744bac179ca40fc48e78e734c795c0ce6718aa58000"><div class="ttname"><a href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca40fc48e78e734c795c0ce6718aa58000">StateMachine05a::STATE_UNKNOWN</a></div><div class="ttdeci">@ STATE_UNKNOWN</div><div class="ttdoc">Unknown state.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:44</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a514a5572dec383e11fc3a0744bac179ca5f404f48d39362d0a2cbb5841f14ce90"><div class="ttname"><a href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179ca5f404f48d39362d0a2cbb5841f14ce90">StateMachine05a::STATE_SAY_TEXT</a></div><div class="ttdeci">@ STATE_SAY_TEXT</div><div class="ttdoc">Say &quot;text&quot; state.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:46</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a514a5572dec383e11fc3a0744bac179cabe926d790e5d121d1aec53afdbef2588"><div class="ttname"><a href="class_state_machine05a.html#a514a5572dec383e11fc3a0744bac179cabe926d790e5d121d1aec53afdbef2588">StateMachine05a::STATE_INITIAL</a></div><div class="ttdeci">@ STATE_INITIAL</div><div class="ttdoc">Initial state.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:45</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a5fedfdc32df8f531a18124e80612929c"><div class="ttname"><a href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929c">StateMachine05a::eTimeoutId</a></div><div class="ttdeci">eTimeoutId</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:34</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a5fedfdc32df8f531a18124e80612929caf9b5289d5651e38ce3650a7d7d55f987"><div class="ttname"><a href="class_state_machine05a.html#a5fedfdc32df8f531a18124e80612929caf9b5289d5651e38ce3650a7d7d55f987">StateMachine05a::Timeout_SAY_HELLO_id</a></div><div class="ttdeci">@ Timeout_SAY_HELLO_id</div><div class="ttdoc">Timeout id for WAIT.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:35</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a638bd8c8185bb37f13df384393bfe0e0"><div class="ttname"><a href="class_state_machine05a.html#a638bd8c8185bb37f13df384393bfe0e0">StateMachine05a::processEvent</a></div><div class="ttdeci">XFEventStatus processEvent() override</div><div class="ttdoc">Remplementation from XFReactive.</div><div class="ttdef"><b>Definition:</b> statemachine05a.cpp:21</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a682dfb3c3036cbe27a0ca63d86f50732"><div class="ttname"><a href="class_state_machine05a.html#a682dfb3c3036cbe27a0ca63d86f50732">StateMachine05a::getText</a></div><div class="ttdeci">std::string getText() const</div><div class="ttdoc">Returns text. Accessor for #_text.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:27</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a7fa372f8683d28aa18f96740950934f5"><div class="ttname"><a href="class_state_machine05a.html#a7fa372f8683d28aa18f96740950934f5">StateMachine05a::text_</a></div><div class="ttdeci">std::string text_</div><div class="ttdoc">Text to display in state machine state.</div><div class="ttdef"><b>Definition:</b> statemachine05a.h:51</div></div>
<div class="ttc" id="aclass_state_machine05a_html_a890b19f66f58724b213ce07f4770086c"><div class="ttname"><a href="class_state_machine05a.html#a890b19f66f58724b213ce07f4770086c">StateMachine05a::currentState_</a></div><div class="ttdeci">eMainState currentState_</div><div class="ttdoc">Attribute indicating currently active state.</div><div class="ttdef"><b>Definition:</b> statemachine05a.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>