From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../doxygen/nel/classNLLOGIC_1_1CLogicCounter.html | 625 +++++++++++++++++++++ 1 file changed, 625 insertions(+) create mode 100644 docs/doxygen/nel/classNLLOGIC_1_1CLogicCounter.html (limited to 'docs/doxygen/nel/classNLLOGIC_1_1CLogicCounter.html') diff --git a/docs/doxygen/nel/classNLLOGIC_1_1CLogicCounter.html b/docs/doxygen/nel/classNLLOGIC_1_1CLogicCounter.html new file mode 100644 index 00000000..0ae1c92d --- /dev/null +++ b/docs/doxygen/nel/classNLLOGIC_1_1CLogicCounter.html @@ -0,0 +1,625 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLLOGIC::CLogicCounter Class Reference

CLogicCounter. +More... +

+#include <logic_variable.h> +

+

Inheritance diagram for NLLOGIC::CLogicCounter: +

+ +NLLOGIC::CLogicVariable + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TLogicCounterRule {
+  STOP_AT_LIMIT = 0, +LOOP, +SHUTTLE, +DOWN_UP, +
+  UP_DOWN +
+ }
 counter running mode. More...

enum  TLogicCounterRunningMode { STOPPED = 0, +RUN, +REWIND, +FAST_FORWARD + }
 counter running state. More...


Public Methods

 CLogicCounter ()
 Default constructor. More...

void update ()
 update the counter. More...

void manageRunningMode ()
 check the counter value according to the running mode. More...

virtual void write (xmlNodePtr node) const
 serial. More...

virtual void read (xmlNodePtr node)

Public Attributes

CLogicVariable Period
 period between inc( measured in game ticks ). More...

CLogicVariable Phase
 time offset to apply with period. More...

CLogicVariable Step
 regular increment value( normally 1 or -1 ). More...

CLogicVariable LowLimit
 lower limit for counter. More...

CLogicVariable HighLimit
 higher limit for counter. More...

CLogicVariable Mode
 running mode. More...

CLogicVariable Control
 running state. More...


Private Attributes

uint _TickCount
+

Detailed Description

+CLogicCounter. +

+

+Author:
+Stephane Coutelas , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 132 of file logic_variable.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NLLOGIC::CLogicCounter::TLogicCounterRule +
+
+ + + + + +
+   + + +

+counter running mode. +

+

+Enumeration values:
+ + + + + + +
STOP_AT_LIMIT  +
LOOP  +
SHUTTLE  +
DOWN_UP  +
UP_DOWN  +
+
+ +

+Definition at line 139 of file logic_variable.h.

+

+ + + + +
+ + +
enum NLLOGIC::CLogicCounter::TLogicCounterRunningMode +
+
+ + + + + +
+   + + +

+counter running state. +

+

+Enumeration values:
+ + + + + +
STOPPED  +
RUN  +
REWIND  +
FAST_FORWARD  +
+
+ +

+Definition at line 149 of file logic_variable.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicCounter::CLogicCounter  
+
+ + + + + +
+   + + +

+Default constructor. +

+ +

+Definition at line 160 of file logic_variable.cpp. +

+References NLLOGIC::CLogicVariable::_Name, _TickCount, NLLOGIC::CLogicVariable::_Value, Control, HighLimit, LowLimit, Mode, Period, Phase, RUN, Step, and STOP_AT_LIMIT.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
void NLLOGIC::CLogicCounter::manageRunningMode  
+
+ + + + + +
+   + + +

+check the counter value according to the running mode. +

+ +

+Definition at line 248 of file logic_variable.cpp. +

+References NLLOGIC::CLogicVariable::_Value, DOWN_UP, HighLimit, LOOP, LowLimit, Mode, SHUTTLE, Step, STOP_AT_LIMIT, and UP_DOWN. +

+Referenced by update.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicCounter::read xmlNodePtr   node [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLLOGIC::CLogicVariable. +

+Definition at line 387 of file logic_variable.cpp. +

+References NLLOGIC::CLogicVariable::_Name, NLLOGIC::CLogicVariable::_Value, NLLOGIC::CLogicVariable::_Verbose, Control, NLLOGIC::getXMLProp, HighLimit, LowLimit, Mode, Period, Phase, Step, and NLLOGIC::xmlCheckNodeName.

+

+ + + + +
+ + + + + + + + + +
void NLLOGIC::CLogicCounter::update  
+
+ + + + + +
+   + + +

+update the counter. +

+ +

+Definition at line 194 of file logic_variable.cpp. +

+References NLLOGIC::CLogicVariable::_Name, _TickCount, NLLOGIC::CLogicVariable::_Value, Control, FAST_FORWARD, HighLimit, LowLimit, manageRunningMode, nlinfo, Period, REWIND, RUN, Step, and STOPPED.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicCounter::write xmlNodePtr   node const [virtual]
+
+ + + + + +
+   + + +

+serial. +

+ +

+Reimplemented from NLLOGIC::CLogicVariable. +

+Definition at line 372 of file logic_variable.cpp. +

+References NLLOGIC::CLogicVariable::_Name, Control, HighLimit, LowLimit, Mode, Period, Phase, and Step.

+


Member Data Documentation

+

+ + + + +
+ + +
uint NLLOGIC::CLogicCounter::_TickCount [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 134 of file logic_variable.h. +

+Referenced by CLogicCounter, and update.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::Control +
+
+ + + + + +
+   + + +

+running state. +

+ +

+Definition at line 178 of file logic_variable.h. +

+Referenced by CLogicCounter, read, update, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::HighLimit +
+
+ + + + + +
+   + + +

+higher limit for counter. +

+ +

+Definition at line 171 of file logic_variable.h. +

+Referenced by CLogicCounter, manageRunningMode, read, update, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::LowLimit +
+
+ + + + + +
+   + + +

+lower limit for counter. +

+ +

+Definition at line 168 of file logic_variable.h. +

+Referenced by CLogicCounter, manageRunningMode, read, update, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::Mode +
+
+ + + + + +
+   + + +

+running mode. +

+ +

+Definition at line 175 of file logic_variable.h. +

+Referenced by CLogicCounter, manageRunningMode, read, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::Period +
+
+ + + + + +
+   + + +

+period between inc( measured in game ticks ). +

+ +

+Definition at line 159 of file logic_variable.h. +

+Referenced by CLogicCounter, read, update, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::Phase +
+
+ + + + + +
+   + + +

+time offset to apply with period. +

+ +

+Definition at line 162 of file logic_variable.h. +

+Referenced by CLogicCounter, read, and write.

+

+ + + + +
+ + +
CLogicVariable NLLOGIC::CLogicCounter::Step +
+
+ + + + + +
+   + + +

+regular increment value( normally 1 or -1 ). +

+ +

+Definition at line 165 of file logic_variable.h. +

+Referenced by CLogicCounter, manageRunningMode, read, update, and write.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1