diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLLOGIC_1_1CLogicStateMachine.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNLLOGIC_1_1CLogicStateMachine.html | 1276 |
1 files changed, 1276 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLLOGIC_1_1CLogicStateMachine.html b/docs/doxygen/nel/classNLLOGIC_1_1CLogicStateMachine.html new file mode 100644 index 00000000..af2edc77 --- /dev/null +++ b/docs/doxygen/nel/classNLLOGIC_1_1CLogicStateMachine.html @@ -0,0 +1,1276 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLLOGIC::CLogicStateMachine Class Reference</h1><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html">CLogicStateMachine</a>. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>></code> +<p> +<a href="classNLLOGIC_1_1CLogicStateMachine-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>const std::map< std::string,<br> + <a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> > & </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a0">getVariables</a> ()</td></tr> +<tr><td nowrap align=right valign=top>const std::map< std::string,<br> + <a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a> > & </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a1">getCounters</a> ()</td></tr> +<tr><td nowrap align=right valign=top>const std::map< std::string,<br> + <a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> > & </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a2">getConditions</a> ()</td></tr> +<tr><td nowrap align=right valign=top>const std::map< std::string,<br> + <a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a> > & </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a3">getStates</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a4">CLogicStateMachine</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Default constructor.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a5">setName</a> (const std::string &name)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the state machine name.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a6">getName</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the state machine name.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a7">setCurrentState</a> (std::string stateName)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the current state.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a8">addSIdMap</a> (const <a class="el" href="namespaceNLLOGIC.html#a0">TSIdMap</a> &sIdMap)</td></tr> +<tr><td> </td><td><font size=-1><em>call the <a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a8">addSIdMap</a>() method for each sate machines.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a9">processLogic</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>call the processLogic method for each sate machines.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a10">getSelfAddressedMessages</a> (<a class="el" href="classstd_1_1list.html">std::list</a>< <a class="el" href="classNLNET_1_1CMessage.html">NLNET::CMessage</a> > &msgs)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the self-addressed message.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a11">addVariable</a> (<a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> var)</td></tr> +<tr><td> </td><td><font size=-1><em>Add a variable in the state machine.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a12">getVariable</a> (std::string &varName, <a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> &var)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the variable.</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a13">addCounter</a> (<a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a> counter)</td></tr> +<tr><td> </td><td><font size=-1><em>Add a counter in the state machine.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a14">addCondition</a> (<a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> <a class="el" href="driver__opengl__extension__def_8h.html#a376">condition</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Add a condition in the state machine.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a15">getCondition</a> (const std::string &condName, <a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> &cond)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the condition.</em> <a href="#a15">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a16">getMessagesToSend</a> (std::multimap< <a class="el" href="structNLMISC_1_1CEntityId.html">NLMISC::CEntityId</a>, <a class="el" href="classNLNET_1_1CMessage.html">NLNET::CMessage</a> > &msgs)</td></tr> +<tr><td> </td><td><font size=-1><em>Get the messages to send.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a17">addState</a> (<a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a> logicState)</td></tr> +<tr><td> </td><td><font size=-1><em>Add a state to the state machine.</em> <a href="#a17">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a18">modifyVariable</a> (std::string varName, std::string modifOperator, <a class="el" href="memory__common_8h.html#a12">sint64</a> <a class="el" href="driver__opengl__extension__def_8h.html#a415">value</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>modify a variable.</em> <a href="#a18">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a19">displayVariables</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Display the variables.</em> <a href="#a19">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a20">displayStates</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Display the states.</em> <a href="#a20">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a21">setVerbose</a> (std::string varName, bool b)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the verbose mode for a variable.</em> <a href="#a21">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a22">write</a> (xmlDocPtr doc) const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a23">read</a> (xmlNodePtr node)</td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>std::map< std::string, <a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> > </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o0">_Variables</a></td></tr> +<tr><td> </td><td><font size=-1><em>variables.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::map< std::string, <a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a> > </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o1">_Counters</a></td></tr> +<tr><td> </td><td><font size=-1><em>counters.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::map< std::string, <a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> > </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o2">_Conditions</a></td></tr> +<tr><td> </td><td><font size=-1><em>conditions used in this state machine.</em> <a href="#o2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::map< std::string, <a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a> > </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o3">_States</a></td></tr> +<tr><td> </td><td><font size=-1><em>states.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o4">_CurrentState</a></td></tr> +<tr><td> </td><td><font size=-1><em>name of the current state.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>std::string </td><td valign=bottom><a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#o5">_Name</a></td></tr> +<tr><td> </td><td><font size=-1><em>name of this sate machine.</em> <a href="#o5">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html">CLogicStateMachine</a>. +<p> +<dl compact><dt><b> +Author: </b><dd> +Stephane Coutelas , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00056">56</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a4" doxytag="NLLOGIC::CLogicStateMachine::CLogicStateMachine"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLLOGIC::CLogicStateMachine::CLogicStateMachine </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Default constructor. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00087">87</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a14" doxytag="NLLOGIC::CLogicStateMachine::addCondition"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::addCondition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> </td> + <td class="mdname1" valign="top" nowrap> <em>condition</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a condition in the state machine. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>condition</em> </td><td> +is the new condition to add in this state machine </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00123">123</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00065">_Conditions</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00371">condition</a>. </td> + </tr> +</table> +<a name="a13" doxytag="NLLOGIC::CLogicStateMachine::addCounter"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::addCounter </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a> </td> + <td class="mdname1" valign="top" nowrap> <em>counter</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a counter in the state machine. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>counter</em> </td><td> +is the new counter to add in this state machine </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00150">150</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NLLOGIC::CLogicStateMachine::addSIdMap"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::addSIdMap </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="namespaceNLLOGIC.html#a0">TSIdMap</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>sIdMap</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +call the <a class="el" href="classNLLOGIC_1_1CLogicStateMachine.html#a8">addSIdMap</a>() method for each sate machines. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>sIdMap</em> </td><td> +is the map associating destination name with a destination id </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00150">150</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, and <a class="el" href="logic__state_8h-source.html#l00047">NLLOGIC::TSIdMap</a>. </td> + </tr> +</table> +<a name="a17" doxytag="NLLOGIC::CLogicStateMachine::addState"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::addState </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a> </td> + <td class="mdname1" valign="top" nowrap> <em>logicState</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a state to the state machine. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>state</em> </td><td> +is the new state to add in this state machine </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00136">136</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>. </td> + </tr> +</table> +<a name="a11" doxytag="NLLOGIC::CLogicStateMachine::addVariable"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::addVariable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> </td> + <td class="mdname1" valign="top" nowrap> <em>var</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add a variable in the state machine. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>var</em> </td><td> +is the new variable to add in this state machine </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00134">134</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>. </td> + </tr> +</table> +<a name="a20" doxytag="NLLOGIC::CLogicStateMachine::displayStates"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::displayStates </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Display the states. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00380">380</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00071">_CurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, and <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>. </td> + </tr> +</table> +<a name="a19" doxytag="NLLOGIC::CLogicStateMachine::displayVariables"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::displayVariables </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Display the variables. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00315">315</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>, and <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>. </td> + </tr> +</table> +<a name="a15" doxytag="NLLOGIC::CLogicStateMachine::getCondition"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLLOGIC::CLogicStateMachine::getCondition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname" nowrap> <em>condName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a> & </td> + <td class="mdname" nowrap> <em>cond</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the condition. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>condName</em> </td><td> +is the name of the condition to get </td></tr> +<tr><td valign=top><em>cond</em> </td><td> +is the condition to get </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the condition has been found, false if not </dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00232">232</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00065">_Conditions</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NLLOGIC::CLogicStateMachine::getConditions"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a>>& NLLOGIC::CLogicStateMachine::getConditions </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00080">80</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00065">_Conditions</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NLLOGIC::CLogicStateMachine::getCounters"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a>>& NLLOGIC::CLogicStateMachine::getCounters </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00079">79</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>. </td> + </tr> +</table> +<a name="a16" doxytag="NLLOGIC::CLogicStateMachine::getMessagesToSend"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::getMessagesToSend </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::multimap< <a class="el" href="structNLMISC_1_1CEntityId.html">NLMISC::CEntityId</a>, <a class="el" href="classNLNET_1_1CMessage.html">NLNET::CMessage</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>msgs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the messages to send. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>msgs</em> </td><td> +is the list used to store the messages to send </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a6" doxytag="NLLOGIC::CLogicStateMachine::getName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NLLOGIC::CLogicStateMachine::getName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the state machine name. +<p> +<dl compact><dt><b> +Returns: </b><dd> +the name of this state machine </dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00101">101</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>. </td> + </tr> +</table> +<a name="a10" doxytag="NLLOGIC::CLogicStateMachine::getSelfAddressedMessages"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::getSelfAddressedMessages </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classstd_1_1list.html">std::list</a>< <a class="el" href="classNLNET_1_1CMessage.html">NLNET::CMessage</a> > & </td> + <td class="mdname1" valign="top" nowrap> <em>msgs</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the self-addressed message. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>msgs</em> </td><td> +is the list used to store the self-addressed messages </td></tr> +</table> +</dl> </td> + </tr> +</table> +<a name="a3" doxytag="NLLOGIC::CLogicStateMachine::getStates"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a>>& NLLOGIC::CLogicStateMachine::getStates </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00081">81</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>. </td> + </tr> +</table> +<a name="a12" doxytag="NLLOGIC::CLogicStateMachine::getVariable"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool NLLOGIC::CLogicStateMachine::getVariable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname" nowrap> <em>varName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a> & </td> + <td class="mdname" nowrap> <em>var</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the variable. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>varName</em> </td><td> +is the name of the variable to get </td></tr> +<tr><td valign=top><em>var</em> </td><td> +is the variable to get </td></tr> +</table> +</dl><dl compact><dt><b> +Returns: </b><dd> +true if the variable has been found, false if not </dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00206">206</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, and <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>. </td> + </tr> +</table> +<a name="a0" doxytag="NLLOGIC::CLogicStateMachine::getVariables"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a>>& NLLOGIC::CLogicStateMachine::getVariables </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00078">78</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>. </td> + </tr> +</table> +<a name="a18" doxytag="NLLOGIC::CLogicStateMachine::modifyVariable"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::modifyVariable </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname" nowrap> <em>varName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>std::string </td> + <td class="mdname" nowrap> <em>modifOperator</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a12">sint64</a> </td> + <td class="mdname" nowrap> <em>value</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +modify a variable. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>varName</em> </td><td> +is the name of the variable to modify </td></tr> +<tr><td valign=top><em>modifOperator</em> </td><td> +can be one of these operators :"SET"("set"),"ADD"("add"),"SUB"("sub"),"MUL"("mul"),"DIV"("div") </td></tr> +<tr><td valign=top><em>value</em> </td><td> +is the value to use along with the modificator </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00252">252</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>, <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>, <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00828">value</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NLLOGIC::CLogicStateMachine::processLogic"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::processLogic </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +call the processLogic method for each sate machines. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00167">167</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, <a class="el" href="logic__state__machine_8h-source.html#l00071">_CurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a23" doxytag="NLLOGIC::CLogicStateMachine::read"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::read </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlNodePtr </td> + <td class="mdname1" valign="top" nowrap> <em>node</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00570">570</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00065">_Conditions</a>, <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00071">NLLOGIC::getXMLProp</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00097">setCurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00094">setName</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00041">NLLOGIC::xmlCheckNodeName</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NLLOGIC::CLogicStateMachine::setCurrentState"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::setCurrentState </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname1" valign="top" nowrap> <em>stateName</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the current state. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>stateName</em> </td><td> +is the name of the state to give focus to </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00097">97</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00071">_CurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, and <a class="el" href="debug_8h-source.html#l00114">nlwarning</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NLLOGIC::CLogicStateMachine::setName"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::setName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the state machine name. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>name</em> </td><td> +is the name of state machine </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00094">94</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>. </td> + </tr> +</table> +<a name="a21" doxytag="NLLOGIC::CLogicStateMachine::setVerbose"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::setVerbose </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname" nowrap> <em>varName</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>b</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the verbose mode for a variable. +<p> +<dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>varName</em> </td><td> +is the name of the variable </td></tr> +<tr><td valign=top><em>b</em> </td><td> +is true to activate the verbose mode, false else </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00397">397</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>, <a class="el" href="debug_8h-source.html#l00094">nlinfo</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00496">NLLOGIC::testNameWithFilter</a>. </td> + </tr> +</table> +<a name="a22" doxytag="NLLOGIC::CLogicStateMachine::write"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicStateMachine::write </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">xmlDocPtr </td> + <td class="mdname1" valign="top" nowrap> <em>doc</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8cpp-source.html#l00541">541</a> of file <a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a>. +<p> +References <a class="el" href="logic__state__machine_8h-source.html#l00065">_Conditions</a>, <a class="el" href="logic__state__machine_8h-source.html#l00062">_Counters</a>, <a class="el" href="logic__state__machine_8h-source.html#l00071">_CurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00074">_Name</a>, <a class="el" href="logic__state__machine_8h-source.html#l00068">_States</a>, and <a class="el" href="logic__state__machine_8h-source.html#l00059">_Variables</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o2" doxytag="NLLOGIC::CLogicStateMachine::_Conditions"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicCondition.html">CLogicCondition</a>> NLLOGIC::CLogicStateMachine::_Conditions<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +conditions used in this state machine. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00065">65</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8cpp-source.html#l00123">addCondition</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00232">getCondition</a>, <a class="el" href="logic__state__machine_8h-source.html#l00080">getConditions</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NLLOGIC::CLogicStateMachine::_Counters"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicCounter.html">CLogicCounter</a>> NLLOGIC::CLogicStateMachine::_Counters<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +counters. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00062">62</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8h-source.html#l00150">addCounter</a>, <a class="el" href="logic__state__machine_8h-source.html#l00079">getCounters</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00206">getVariable</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00252">modifyVariable</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00167">processLogic</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00397">setVerbose</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NLLOGIC::CLogicStateMachine::_CurrentState"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NLLOGIC::CLogicStateMachine::_CurrentState<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +name of the current state. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00071">71</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8cpp-source.html#l00380">displayStates</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00167">processLogic</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00097">setCurrentState</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NLLOGIC::CLogicStateMachine::_Name"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NLLOGIC::CLogicStateMachine::_Name<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +name of this sate machine. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00074">74</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8h-source.html#l00087">CLogicStateMachine</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00380">displayStates</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00315">displayVariables</a>, <a class="el" href="logic__state__machine_8h-source.html#l00101">getName</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00252">modifyVariable</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00097">setCurrentState</a>, <a class="el" href="logic__state__machine_8h-source.html#l00094">setName</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NLLOGIC::CLogicStateMachine::_States"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicState.html">CLogicState</a>> NLLOGIC::CLogicStateMachine::_States<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +states. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00068">68</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8cpp-source.html#l00150">addSIdMap</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00136">addState</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00380">displayStates</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00315">displayVariables</a>, <a class="el" href="logic__state__machine_8h-source.html#l00081">getStates</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00167">processLogic</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00097">setCurrentState</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<a name="o0" doxytag="NLLOGIC::CLogicStateMachine::_Variables"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::map<std::string, <a class="el" href="classNLLOGIC_1_1CLogicVariable.html">CLogicVariable</a>> NLLOGIC::CLogicStateMachine::_Variables<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +variables. +<p> + +<p> +Definition at line <a class="el" href="logic__state__machine_8h-source.html#l00059">59</a> of file <a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a>. +<p> +Referenced by <a class="el" href="logic__state__machine_8h-source.html#l00134">addVariable</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00315">displayVariables</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00206">getVariable</a>, <a class="el" href="logic__state__machine_8h-source.html#l00078">getVariables</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00252">modifyVariable</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00570">read</a>, <a class="el" href="logic__state__machine_8cpp-source.html#l00397">setVerbose</a>, and <a class="el" href="logic__state__machine_8cpp-source.html#l00541">write</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="logic__state__machine_8h-source.html">logic_state_machine.h</a><li><a class="el" href="logic__state__machine_8cpp-source.html">logic_state_machine.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |