127 lines
15 KiB
HTML
127 lines
15 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/test5/src/app/statemachine05b.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_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">statemachine05b.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 STATEMACHINE05B_H</span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define STATEMACHINE05B_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="l00018" name="l00018"></a><span class="lineno"><a class="line" href="class_state_machine05b.html"> 18</a></span><span class="keyword">class </span><a class="code hl_class" href="class_state_machine05b.html">StateMachine05b</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_machine05b.html#aa7bc3dfd48966a076caa1dde4617f8fa">StateMachine05b</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_machine05b.html">~StateMachine05b</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_machine05b.html#a5339cf91ed80c9680dbd38ba7ca7306d">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_machine05b.html#aad06a19c297d1a1b60037afe08769cc1"> 27</a></span> <span class="keyword">inline</span> std::string <a class="code hl_function" href="class_state_machine05b.html#aad06a19c297d1a1b60037afe08769cc1">getText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code hl_variable" href="class_state_machine05b.html#aa6442c36c4b2471a07aca6bf61198b2f">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_machine05b.html#a9ce1b583d3802ec945155dc580761438"> 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_machine05b.html#a9ce1b583d3802ec945155dc580761438aec65cab72310a49b93802c3cae2153b0">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_machine05b.html#a9ce1b583d3802ec945155dc580761438aec65cab72310a49b93802c3cae2153b0"> 36</a></span> } <a class="code hl_enumeration" href="class_state_machine05b.html#a9ce1b583d3802ec945155dc580761438">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_machine05b.html#a5b365dfa048765081afeb63bcc37192f"> 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_machine05b.html#a5b365dfa048765081afeb63bcc37192fa0481f46249444f3b106086d2407a1ff4"> 44</a></span> <a class="code hl_enumvalue" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa0481f46249444f3b106086d2407a1ff4">STATE_UNKNOWN</a> = 0, </div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1d63c1ea57ac4b573d2dce8db2bd3d9f"> 45</a></span> <a class="code hl_enumvalue" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1d63c1ea57ac4b573d2dce8db2bd3d9f">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_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1cc7bcdd345d9af7da82d3425dce4aad">STATE_SAY_TEXT</a> = 2 </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1cc7bcdd345d9af7da82d3425dce4aad"> 47</a></span> } <a class="code hl_enumeration" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192f">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_machine05b.html#a9e07d919271928ce93e18a1f3690af98"> 49</a></span> <a class="code hl_enumeration" href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192f">eMainState</a> <a class="code hl_variable" href="class_state_machine05b.html#a9e07d919271928ce93e18a1f3690af98">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_machine05b.html#aa6442c36c4b2471a07aca6bf61198b2f"> 51</a></span> std::string <a class="code hl_variable" href="class_state_machine05b.html#aa6442c36c4b2471a07aca6bf61198b2f">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">// STATEMACHINE05B_H</span></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html"><div class="ttname"><a href="class_state_machine05b.html">StateMachine05b</a></div><div class="ttdef"><b>Definition:</b> statemachine05b.h:19</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a5339cf91ed80c9680dbd38ba7ca7306d"><div class="ttname"><a href="class_state_machine05b.html#a5339cf91ed80c9680dbd38ba7ca7306d">StateMachine05b::processEvent</a></div><div class="ttdeci">XFEventStatus processEvent() override</div><div class="ttdoc">Remplementation from XFReactive.</div><div class="ttdef"><b>Definition:</b> statemachine05b.cpp:21</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a5b365dfa048765081afeb63bcc37192f"><div class="ttname"><a href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192f">StateMachine05b::eMainState</a></div><div class="ttdeci">eMainState</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:43</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a5b365dfa048765081afeb63bcc37192fa0481f46249444f3b106086d2407a1ff4"><div class="ttname"><a href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa0481f46249444f3b106086d2407a1ff4">StateMachine05b::STATE_UNKNOWN</a></div><div class="ttdeci">@ STATE_UNKNOWN</div><div class="ttdoc">Unknown state.</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:44</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a5b365dfa048765081afeb63bcc37192fa1cc7bcdd345d9af7da82d3425dce4aad"><div class="ttname"><a href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1cc7bcdd345d9af7da82d3425dce4aad">StateMachine05b::STATE_SAY_TEXT</a></div><div class="ttdeci">@ STATE_SAY_TEXT</div><div class="ttdoc">Say "text" state.</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:46</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a5b365dfa048765081afeb63bcc37192fa1d63c1ea57ac4b573d2dce8db2bd3d9f"><div class="ttname"><a href="class_state_machine05b.html#a5b365dfa048765081afeb63bcc37192fa1d63c1ea57ac4b573d2dce8db2bd3d9f">StateMachine05b::STATE_INITIAL</a></div><div class="ttdeci">@ STATE_INITIAL</div><div class="ttdoc">Initial state.</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:45</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a9ce1b583d3802ec945155dc580761438"><div class="ttname"><a href="class_state_machine05b.html#a9ce1b583d3802ec945155dc580761438">StateMachine05b::eTimeoutId</a></div><div class="ttdeci">eTimeoutId</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:34</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a9ce1b583d3802ec945155dc580761438aec65cab72310a49b93802c3cae2153b0"><div class="ttname"><a href="class_state_machine05b.html#a9ce1b583d3802ec945155dc580761438aec65cab72310a49b93802c3cae2153b0">StateMachine05b::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> statemachine05b.h:35</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_a9e07d919271928ce93e18a1f3690af98"><div class="ttname"><a href="class_state_machine05b.html#a9e07d919271928ce93e18a1f3690af98">StateMachine05b::currentState_</a></div><div class="ttdeci">eMainState currentState_</div><div class="ttdoc">Attribute indicating currently active state.</div><div class="ttdef"><b>Definition:</b> statemachine05b.h:49</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_aa6442c36c4b2471a07aca6bf61198b2f"><div class="ttname"><a href="class_state_machine05b.html#aa6442c36c4b2471a07aca6bf61198b2f">StateMachine05b::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> statemachine05b.h:51</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_aa7bc3dfd48966a076caa1dde4617f8fa"><div class="ttname"><a href="class_state_machine05b.html#aa7bc3dfd48966a076caa1dde4617f8fa">StateMachine05b::StateMachine05b</a></div><div class="ttdeci">StateMachine05b(std::string text)</div><div class="ttdef"><b>Definition:</b> statemachine05b.cpp:10</div></div>
|
|
<div class="ttc" id="aclass_state_machine05b_html_aad06a19c297d1a1b60037afe08769cc1"><div class="ttname"><a href="class_state_machine05b.html#aad06a19c297d1a1b60037afe08769cc1">StateMachine05b::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> statemachine05b.h:27</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>
|