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/a02819.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/a02819.html | 1226 |
1 files changed, 1226 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02819.html b/docs/doxygen/nel/a02819.html new file mode 100644 index 00000000..b80ee64f --- /dev/null +++ b/docs/doxygen/nel/a02819.html @@ -0,0 +1,1226 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> +<title>NeL: NLLOGIC::CLogicCounter class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.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">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLLOGIC::CLogicCounter Class Reference</h1><code>#include <<a class="el" href="a05957.html">logic_variable.h</a>></code> +<p> +<p>Inheritance diagram for NLLOGIC::CLogicCounter: +<p><center><img src="a02819.png" usemap="#NLLOGIC::CLogicCounter_map" border="0" alt=""></center> +<map name="NLLOGIC::CLogicCounter_map"> +<area href="a02820.html" alt="NLLOGIC::CLogicVariable" shape="rect" coords="0,0,160,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a02819.html">CLogicCounter</a><p> +<dl compact><dt><b>Author:</b></dt><dd>Stephane Coutelas <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00132">132</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8">TLogicCounterRule</a> { <br> + <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6">STOP_AT_LIMIT</a> = 0, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw2">LOOP</a>, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw5">SHUTTLE</a>, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw0">DOWN_UP</a>, +<br> + <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw10">UP_DOWN</a> +<br> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">counter running mode <a href="#NLLOGIC_1_1CLogicCounterw8">More...</a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9">TLogicCounterRunningMode</a> { <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw7">STOPPED</a> = 0, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4">RUN</a>, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw3">REWIND</a>, +<a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw1">FAST_FORWARD</a> + }</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">counter running state <a href="#NLLOGIC_1_1CLogicCounterw9">More...</a><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea0">applyModification</a> (std::string op, <a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera1">CLogicCounter</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea2">getName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea3">getValue</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera4">manageRunningMode</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea4">processLogic</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera6">read</a> (xmlNodePtr node)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea6">setName</a> (std::string name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea7">setValue</a> (<a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a04223.html#a658">value</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea8">setVerbose</a> (bool b)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera10">update</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera11">write</a> (xmlNodePtr node) const </td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">running state <a href="#NLLOGIC_1_1CLogicCountero0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">higher limit for counter <a href="#NLLOGIC_1_1CLogicCountero1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">lower limit for counter <a href="#NLLOGIC_1_1CLogicCountero2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">running mode <a href="#NLLOGIC_1_1CLogicCountero3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">period between inc( measured in game ticks ) <a href="#NLLOGIC_1_1CLogicCountero4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero5">Phase</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">time offset to apply with period <a href="#NLLOGIC_1_1CLogicCountero5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02820.html">CLogicVariable</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">regular increment value( normally 1 or -1 ) <a href="#NLLOGIC_1_1CLogicCountero6"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">variable name <a href="#NLLOGIC_1_1CLogicVariablep0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">variable value <a href="#NLLOGIC_1_1CLogicVariablep1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">true if verbose mode is active <a href="#NLLOGIC_1_1CLogicVariablep2"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">_TickCount</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLLOGIC_1_1CLogicCounterw8" doxytag="NLLOGIC::CLogicCounter::TLogicCounterRule" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8">NLLOGIC::CLogicCounter::TLogicCounterRule</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +counter running mode +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6" doxytag="STOP_AT_LIMIT" ></a>STOP_AT_LIMIT</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw2" doxytag="LOOP" ></a>LOOP</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw5" doxytag="SHUTTLE" ></a>SHUTTLE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw0" doxytag="DOWN_UP" ></a>DOWN_UP</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw10" doxytag="UP_DOWN" ></a>UP_DOWN</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05957.html#l00139">139</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +<div class="fragment"><pre>00140 { +00141 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6">STOP_AT_LIMIT</a> = 0, +00142 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw2">LOOP</a>, +00143 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw5">SHUTTLE</a>, +00144 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw0">DOWN_UP</a>, <span class="comment">// bounce at low end, stop at high end</span> +00145 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw10">UP_DOWN</a>, <span class="comment">// bounce at high end, stop at low end</span> +00146 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCounterw9" doxytag="NLLOGIC::CLogicCounter::TLogicCounterRunningMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9">NLLOGIC::CLogicCounter::TLogicCounterRunningMode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +counter running state +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw7" doxytag="STOPPED" ></a>STOPPED</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4" doxytag="RUN" ></a>RUN</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw3" doxytag="REWIND" ></a>REWIND</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw1" doxytag="FAST_FORWARD" ></a>FAST_FORWARD</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05957.html#l00149">149</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +<div class="fragment"><pre>00150 { +00151 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw7">STOPPED</a> = 0, +00152 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4">RUN</a>, +00153 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw3">REWIND</a>, +00154 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw1">FAST_FORWARD</a>, +00155 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLLOGIC_1_1CLogicCountera1" doxytag="NLLOGIC::CLogicCounter::CLogicCounter" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLLOGIC::CLogicCounter::CLogicCounter </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> +Default constructor +<p> +Definition at line <a class="el" href="a05956.html#l00160">160</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00134">_TickCount</a>, <a class="el" href="a05957.html#l00178">Control</a>, <a class="el" href="a05957.html#l00171">HighLimit</a>, <a class="el" href="a05957.html#l00168">LowLimit</a>, <a class="el" href="a05957.html#l00159">Period</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4">RUN</a>, <a class="el" href="a05957.html#l00069">NLLOGIC::CLogicVariable::setName()</a>, <a class="el" href="a05956.html#l00056">NLLOGIC::CLogicVariable::setValue()</a>, and <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6">STOP_AT_LIMIT</a>. +<p> +<div class="fragment"><pre>00161 { +00162 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">_TickCount</a> = 0; +00163 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = 0; +00164 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = <span class="stringliteral">"unamed_counter"</span>; +00165 +00166 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a>.setValue( 10 ); +00167 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a>.setName(<span class="stringliteral">"Period"</span>); +00168 +00169 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero5">Phase</a>.setValue( 0 ); +00170 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero5">Phase</a>.setName(<span class="stringliteral">"Phase"</span>); +00171 +00172 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue( 1 ); +00173 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setName(<span class="stringliteral">"Step"</span>); +00174 +00175 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.setValue( 0 ); +00176 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.setName(<span class="stringliteral">"LowLimit"</span>); +00177 +00178 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.setValue( 100 ); +00179 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.setName(<span class="stringliteral">"HighLimit"</span>); +00180 +00181 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a>.setValue( STOP_AT_LIMIT ); +00182 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a>.setName(<span class="stringliteral">"Mode"</span>); +00183 +00184 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.setValue( RUN ); +00185 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.setName(<span class="stringliteral">"Control"</span>); +00186 +00187 } <span class="comment">// CLogicCounter //</span> +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea0" doxytag="NLLOGIC::CLogicCounter::applyModification" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::applyModification </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname" nowrap> <em>op</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.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"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Apply modifications on a variable<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>op</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="a05956.html#l00073">73</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00055">NLLOGIC::CLogicVariable::_Verbose</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +<div class="fragment"><pre>00074 { +00075 <span class="keywordflow">if</span>( op == <span class="stringliteral">"SET"</span> || op == <span class="stringliteral">"set"</span> ) +00076 { +00077 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a04223.html#a658">value</a>; +00078 } +00079 <span class="keywordflow">else</span> +00080 <span class="keywordflow">if</span>( op == <span class="stringliteral">"ADD"</span> || op == <span class="stringliteral">"add"</span> ) +00081 { +00082 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> += <a class="code" href="a04223.html#a658">value</a>; +00083 } +00084 <span class="keywordflow">else</span> +00085 <span class="keywordflow">if</span>( op == <span class="stringliteral">"SUB"</span> || op == <span class="stringliteral">"sub"</span> ) +00086 { +00087 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> -= <a class="code" href="a04223.html#a658">value</a>; +00088 } +00089 <span class="keywordflow">else</span> +00090 <span class="keywordflow">if</span>( op == <span class="stringliteral">"MUL"</span> || op == <span class="stringliteral">"mul"</span>) +00091 { +00092 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> *= <a class="code" href="a04223.html#a658">value</a>; +00093 } +00094 <span class="keywordflow">else</span> +00095 <span class="keywordflow">if</span>( op == <span class="stringliteral">"DIV"</span> || op == <span class="stringliteral">"div"</span>) +00096 { +00097 <span class="keywordflow">if</span>( <a class="code" href="a04223.html#a658">value</a> != 0 ) <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> /= <a class="code" href="a04223.html#a658">value</a>; +00098 } +00099 <span class="keywordflow">else</span> +00100 { +00101 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"(LGCS)<CLogicVariable::applyModification> The operator \"%s\" is unknown"</span>,op.c_str()); +00102 <span class="keywordflow">return</span>; +00103 } +00104 +00105 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> ) +00106 { +00107 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"variable \"%s\" value is now %f"</span>,<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str(),(<span class="keywordtype">double</span>)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>); +00108 } +00109 +00110 } <span class="comment">// applyModification //</span> +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea2" doxytag="NLLOGIC::CLogicCounter::getName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string NLLOGIC::CLogicVariable::getName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the variable name<p> +<dl compact><dt><b>Returns:</b></dt><dd>the name of the variable</dd></dl> + +<p> +Definition at line <a class="el" href="a05957.html#l00076">76</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05955.html#l00150">NLLOGIC::CLogicStateMachine::addCounter()</a>, and <a class="el" href="a05955.html#l00134">NLLOGIC::CLogicStateMachine::addVariable()</a>. +<p> +<div class="fragment"><pre>00076 { <span class="keywordflow">return</span> <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea3" doxytag="NLLOGIC::CLogicCounter::getValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a12">sint64</a> NLLOGIC::CLogicVariable::getValue </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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the variable value<p> +<dl compact><dt><b>Returns:</b></dt><dd>the variable's value</dd></dl> + +<p> +Definition at line <a class="el" href="a05957.html#l00090">90</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +References <a class="el" href="a05981.html#l00101">sint64</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00248">manageRunningMode()</a>, <a class="el" href="a05946.html#l00061">NLLOGIC::CLogicComparisonBlock::testLogic()</a>, <a class="el" href="a05956.html#l00194">update()</a>, and <a class="el" href="a05956.html#l00372">write()</a>. +<p> +<div class="fragment"><pre>00090 { <span class="keywordflow">return</span> <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountera4" doxytag="NLLOGIC::CLogicCounter::manageRunningMode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicCounter::manageRunningMode </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> +check the counter value according to the running mode +<p> +Definition at line <a class="el" href="a05956.html#l00248">248</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw0">DOWN_UP</a>, <a class="el" href="a05957.html#l00090">NLLOGIC::CLogicVariable::getValue()</a>, <a class="el" href="a05957.html#l00171">HighLimit</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw2">LOOP</a>, <a class="el" href="a05957.html#l00168">LowLimit</a>, <a class="el" href="a05956.html#l00056">NLLOGIC::CLogicVariable::setValue()</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw5">SHUTTLE</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6">STOP_AT_LIMIT</a>, and <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw10">UP_DOWN</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00194">update()</a>. +<p> +<div class="fragment"><pre>00249 { +00250 <span class="comment">// loop on one value</span> +00251 <span class="keywordflow">if</span>( <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() == <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00252 { +00253 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue(); +00254 <span class="keywordflow">return</span>; +00255 } +00256 +00257 <span class="keywordflow">switch</span>( <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a>.getValue() ) +00258 { +00259 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw6">STOP_AT_LIMIT</a> : +00260 { +00261 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> > <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() ) +00262 { +00263 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue(); +00264 } +00265 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00266 { +00267 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue(); +00268 } +00269 } +00270 <span class="keywordflow">break</span>; +00271 +00272 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw2">LOOP</a> : +00273 { +00274 <span class="comment">// value is higher than high limit</span> +00275 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> > <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() ) +00276 { +00277 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() + <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> - <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() - 1; +00278 } +00279 <span class="comment">// value is lower than low limit</span> +00280 <span class="keywordflow">else</span> +00281 { +00282 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00283 { +00284 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() - (<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() -<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>) + 1; +00285 } +00286 } +00287 } +00288 <span class="keywordflow">break</span>; +00289 +00290 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw5">SHUTTLE</a> : +00291 { +00292 <span class="comment">// value is higher than high limit</span> +00293 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> > <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() ) +00294 { +00295 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() - (<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> - <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue()); +00296 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue( -<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue() ); +00297 } +00298 <span class="comment">// value is lower than low limit</span> +00299 <span class="keywordflow">else</span> +00300 { +00301 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00302 { +00303 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() + <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() - <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>; +00304 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue( -<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue() ); +00305 } +00306 } +00307 } +00308 <span class="keywordflow">break</span>; +00309 +00310 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw0">DOWN_UP</a> : +00311 { +00312 <span class="comment">// low limit reached, we go up</span> +00313 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00314 { +00315 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() + <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() - <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>; +00316 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue( -<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue() ); +00317 } +00318 <span class="keywordflow">else</span> +00319 { +00320 <span class="comment">// high limit reached we stop</span> +00321 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> > <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() ) +00322 { +00323 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue(); +00324 } +00325 } +00326 } +00327 <span class="keywordflow">break</span>; +00328 +00329 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw8NLLOGIC_1_1CLogicCounterw10">UP_DOWN</a> : +00330 { +00331 <span class="comment">// high limit reached, we go down</span> +00332 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> > <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() ) +00333 { +00334 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue() - (<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> - <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue()); +00335 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue( -<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue() ); +00336 } +00337 <span class="keywordflow">else</span> +00338 { +00339 <span class="comment">// low limit reached, we stop</span> +00340 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue() ) +00341 { +00342 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue(); +00343 } +00344 } +00345 } +00346 } +00347 +00348 } <span class="comment">// manageRunningMode //</span> +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea4" doxytag="NLLOGIC::CLogicCounter::processLogic" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::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><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +update the variable +<p> +Definition at line <a class="el" href="a05956.html#l00117">117</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +<div class="fragment"><pre>00118 { +00119 +00120 +00121 } <span class="comment">// processLogic //</span> +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountera6" doxytag="NLLOGIC::CLogicCounter::read" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicCounter::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><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea5">NLLOGIC::CLogicVariable</a>. +<p> +Definition at line <a class="el" href="a05956.html#l00387">387</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00178">Control</a>, <a class="el" href="a05954.html#l00072">NLLOGIC::getXMLProp()</a>, <a class="el" href="a05957.html#l00171">HighLimit</a>, <a class="el" href="a05957.html#l00168">LowLimit</a>, <a class="el" href="a05957.html#l00159">Period</a>, <a class="el" href="a05956.html#l00056">NLLOGIC::CLogicVariable::setValue()</a>, and <a class="el" href="a05954.html#l00042">NLLOGIC::xmlCheckNodeName()</a>. +<p> +<div class="fragment"><pre>00388 { +00389 <a class="code" href="a05376.html#a2">xmlCheckNodeName</a> (node, <span class="stringliteral">"COUNTER"</span>); +00390 +00391 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = <a class="code" href="a05376.html#a3">getXMLProp</a> (node, <span class="stringliteral">"Name"</span>); +00392 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a05364.html#a43">atoiInt64</a> (getXMLProp (node, <span class="stringliteral">"Value"</span>).c_str()); +00393 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> = atoi(getXMLProp (node, <span class="stringliteral">"Verbose"</span>).c_str()) == 1; +00394 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"Period"</span>).c_str())); +00395 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero5">Phase</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"Phase"</span>).c_str())); +00396 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"Step"</span>).c_str())); +00397 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"LowLimit"</span>).c_str())); +00398 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"HighLimit"</span>).c_str())); +00399 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"Mode"</span>).c_str())); +00400 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.setValue(<a class="code" href="a05364.html#a43">atoiInt64</a>(getXMLProp (node, <span class="stringliteral">"Control"</span>).c_str())); +00401 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea6" doxytag="NLLOGIC::CLogicCounter::setName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">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, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the variable name<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>name</em> </td><td>is the name of the variable</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05957.html#l00069">69</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>. +<p> +<div class="fragment"><pre>00069 { <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = name; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea7" doxytag="NLLOGIC::CLogicCounter::setValue" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a12">sint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>value</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the variable value<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>value</em> </td><td>is the new value of the variable</td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="a05956.html#l00056">56</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00055">NLLOGIC::CLogicVariable::_Verbose</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a05646.html#l01132">value</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, <a class="el" href="a05956.html#l00248">manageRunningMode()</a>, <a class="el" href="a05956.html#l00387">read()</a>, and <a class="el" href="a05956.html#l00194">update()</a>. +<p> +<div class="fragment"><pre>00057 { +00058 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a04223.html#a658">value</a>; +00059 +00060 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> ) +00061 { +00062 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"variable \"%s\" value is now %f"</span>,<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str(),(<span class="keywordtype">double</span>)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>); +00063 } +00064 +00065 } <span class="comment">// setValue //</span> +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablea8" doxytag="NLLOGIC::CLogicCounter::setVerbose" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setVerbose </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>b</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the verbose mode active or inactive<p> +<dl compact><dt><b>Parameters:</b></dt><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="a05957.html#l00098">98</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +References <a class="el" href="a05957.html#l00055">NLLOGIC::CLogicVariable::_Verbose</a>. +<p> +<div class="fragment"><pre>00098 { <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> = b; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountera10" doxytag="NLLOGIC::CLogicCounter::update" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicCounter::update </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> +update the counter +<p> +Definition at line <a class="el" href="a05956.html#l00194">194</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00134">_TickCount</a>, <a class="el" href="a05957.html#l00178">Control</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw1">FAST_FORWARD</a>, <a class="el" href="a05957.html#l00090">NLLOGIC::CLogicVariable::getValue()</a>, <a class="el" href="a05957.html#l00171">HighLimit</a>, <a class="el" href="a05957.html#l00168">LowLimit</a>, <a class="el" href="a05956.html#l00248">manageRunningMode()</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a05957.html#l00159">Period</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw3">REWIND</a>, <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4">RUN</a>, <a class="el" href="a05956.html#l00056">NLLOGIC::CLogicVariable::setValue()</a>, and <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw7">STOPPED</a>. +<p> +<div class="fragment"><pre>00195 { +00196 <span class="keywordflow">if</span>( <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.getValue() == <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw7">STOPPED</a> ) +00197 { +00198 <span class="keywordflow">return</span>; +00199 } +00200 +00201 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">_TickCount</a>++; +00202 <span class="keywordflow">if</span>( <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">_TickCount</a> < <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a>.getValue() ) +00203 { +00204 <span class="keywordflow">return</span>; +00205 } +00206 <span class="keywordflow">else</span> +00207 { +00208 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">_TickCount</a> = 0; +00209 } +00210 +00211 <span class="keywordflow">switch</span>( <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.getValue() ) +00212 { +00213 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw4">RUN</a> : +00214 { +00215 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> += <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue(); +00216 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountera4">manageRunningMode</a>(); +00217 } +00218 <span class="keywordflow">break</span>; +00219 +00220 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw3">REWIND</a> : +00221 { +00222 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue(); +00223 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.setValue( RUN ); +00224 } +00225 <span class="keywordflow">break</span>; +00226 +00227 <span class="keywordflow">case</span> <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCounterw9NLLOGIC_1_1CLogicCounterw1">FAST_FORWARD</a> : +00228 { +00229 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue(); +00230 <a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.setValue( RUN ); +00231 } +00232 <span class="keywordflow">break</span>; +00233 +00234 } +00235 +00236 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> ) +00237 { +00238 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"variable \"%s\" value is now %f"</span>,<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str(),(<span class="keywordtype">double</span>)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>); +00239 } +00240 +00241 } <span class="comment">// update //</span> +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountera11" doxytag="NLLOGIC::CLogicCounter::write" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLLOGIC::CLogicCounter::write </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> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial +<p> +Reimplemented from <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea9">NLLOGIC::CLogicVariable</a>. +<p> +Definition at line <a class="el" href="a05956.html#l00372">372</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>. +<p> +References <a class="el" href="a05957.html#l00178">Control</a>, <a class="el" href="a05957.html#l00090">NLLOGIC::CLogicVariable::getValue()</a>, <a class="el" href="a05957.html#l00171">HighLimit</a>, <a class="el" href="a05957.html#l00168">LowLimit</a>, and <a class="el" href="a05957.html#l00159">Period</a>. +<p> +<div class="fragment"><pre>00373 { +00374 xmlNodePtr elmPtr = xmlNewChild ( node, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"COUNTER"</span>, NULL); +00375 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Name"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str()); +00376 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Value"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(_Value).c_str()); +00377 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Verbose"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(_Verbose).c_str()); +00378 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Period"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero4">Period</a>.getValue()).c_str()); +00379 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Phase"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero5">Phase</a>.getValue()).c_str()); +00380 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Step"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero6">Step</a>.getValue()).c_str()); +00381 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"LowLimit"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero2">LowLimit</a>.getValue()).c_str()); +00382 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"HighLimit"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero1">HighLimit</a>.getValue()).c_str()); +00383 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Mode"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero3">Mode</a>.getValue()).c_str()); +00384 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Control"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(<a class="code" href="a02819.html#NLLOGIC_1_1CLogicCountero0">Control</a>.getValue()).c_str()); +00385 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablep0" doxytag="NLLOGIC::CLogicCounter::_Name" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">NLLOGIC::CLogicVariable::_Name</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +variable name +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00052">52</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCounterr0" doxytag="NLLOGIC::CLogicCounter::_TickCount" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCounterr0">NLLOGIC::CLogicCounter::_TickCount</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00134">134</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, and <a class="el" href="a05956.html#l00194">update()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablep1" doxytag="NLLOGIC::CLogicCounter::_Value" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">NLLOGIC::CLogicVariable::_Value</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +variable value +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00049">49</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicVariablep2" doxytag="NLLOGIC::CLogicCounter::_Verbose" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> bool <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">NLLOGIC::CLogicVariable::_Verbose</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +true if verbose mode is active +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00055">55</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00073">NLLOGIC::CLogicVariable::applyModification()</a>, <a class="el" href="a05956.html#l00042">NLLOGIC::CLogicVariable::CLogicVariable()</a>, <a class="el" href="a05956.html#l00147">NLLOGIC::CLogicVariable::read()</a>, <a class="el" href="a05956.html#l00056">NLLOGIC::CLogicVariable::setValue()</a>, <a class="el" href="a05957.html#l00098">NLLOGIC::CLogicVariable::setVerbose()</a>, and <a class="el" href="a05956.html#l00139">NLLOGIC::CLogicVariable::write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero0" doxytag="NLLOGIC::CLogicCounter::Control" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero0">NLLOGIC::CLogicCounter::Control</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +running state +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00178">178</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, <a class="el" href="a05956.html#l00387">read()</a>, <a class="el" href="a05956.html#l00194">update()</a>, and <a class="el" href="a05956.html#l00372">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero1" doxytag="NLLOGIC::CLogicCounter::HighLimit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero1">NLLOGIC::CLogicCounter::HighLimit</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +higher limit for counter +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00171">171</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, <a class="el" href="a05956.html#l00248">manageRunningMode()</a>, <a class="el" href="a05956.html#l00387">read()</a>, <a class="el" href="a05956.html#l00194">update()</a>, and <a class="el" href="a05956.html#l00372">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero2" doxytag="NLLOGIC::CLogicCounter::LowLimit" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero2">NLLOGIC::CLogicCounter::LowLimit</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +lower limit for counter +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00168">168</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, <a class="el" href="a05956.html#l00248">manageRunningMode()</a>, <a class="el" href="a05956.html#l00387">read()</a>, <a class="el" href="a05956.html#l00194">update()</a>, and <a class="el" href="a05956.html#l00372">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero3" doxytag="NLLOGIC::CLogicCounter::Mode" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero3">NLLOGIC::CLogicCounter::Mode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +running mode +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00175">175</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero4" doxytag="NLLOGIC::CLogicCounter::Period" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero4">NLLOGIC::CLogicCounter::Period</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +period between inc( measured in game ticks ) +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00159">159</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. +<p> +Referenced by <a class="el" href="a05956.html#l00160">CLogicCounter()</a>, <a class="el" href="a05956.html#l00387">read()</a>, <a class="el" href="a05956.html#l00194">update()</a>, and <a class="el" href="a05956.html#l00372">write()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero5" doxytag="NLLOGIC::CLogicCounter::Phase" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero5">NLLOGIC::CLogicCounter::Phase</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +time offset to apply with period +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00162">162</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLLOGIC_1_1CLogicCountero6" doxytag="NLLOGIC::CLogicCounter::Step" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02820.html">CLogicVariable</a> <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountero6">NLLOGIC::CLogicCounter::Step</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +regular increment value( normally 1 or -1 ) +<p> + +<p> +Definition at line <a class="el" href="a05957.html#l00165">165</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05957.html">logic_variable.h</a><li><a class="el" href="a05956.html">logic_variable.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:53:47 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |