From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLLOGIC_1_1CLogicVariable.html | 600 +++++++++++++++++++++ 1 file changed, 600 insertions(+) create mode 100644 docs/doxygen/nel/classNLLOGIC_1_1CLogicVariable.html (limited to 'docs/doxygen/nel/classNLLOGIC_1_1CLogicVariable.html') diff --git a/docs/doxygen/nel/classNLLOGIC_1_1CLogicVariable.html b/docs/doxygen/nel/classNLLOGIC_1_1CLogicVariable.html new file mode 100644 index 00000000..08051492 --- /dev/null +++ b/docs/doxygen/nel/classNLLOGIC_1_1CLogicVariable.html @@ -0,0 +1,600 @@ + + + + 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::CLogicVariable Class Reference

CLogicVariable. +More... +

+#include <logic_variable.h> +

+

Inheritance diagram for NLLOGIC::CLogicVariable: +

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

Public Methods

 CLogicVariable ()
 Default constructor. More...

void setName (std::string name)
 Set the variable name. More...

std::string getName () const
 Get the variable name. More...

void setValue (sint64 value)
 Set the variable value. More...

sint64 getValue () const
 Get the variable value. More...

void setVerbose (bool b)
 Set the verbose mode active or inactive. More...

void applyModification (std::string op, sint64 value)
 Apply modifications on a variable. More...

virtual void processLogic ()
 update the variable. More...

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

virtual void read (xmlNodePtr node)

Protected Attributes

sint64 _Value
 variable value. More...

std::string _Name
 variable name. More...

bool _Verbose
 true if verbose mode is active. More...

+

Detailed Description

+CLogicVariable. +

+

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

+ +

+Definition at line 44 of file logic_variable.h.


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLLOGIC::CLogicVariable::CLogicVariable  
+
+ + + + + +
+   + + +

+Default constructor. +

+ +

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

+References _Name, _Value, and _Verbose.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLLOGIC::CLogicVariable::applyModification std::string   op,
sint64   value
+
+ + + + + +
+   + + +

+Apply modifications on a variable. +

+

+Parameters:
+ + + +
op  +can be one of these operators :"SET"("set"),"ADD"("add"),"SUB"("sub"),"MUL"("mul"),"DIV"("div")
value  +is the value to use along with the modificator
+
+

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

+References _Name, _Value, nlinfo, nlwarning, and sint64.

+

+ + + + +
+ + + + + + + + + +
std::string NLLOGIC::CLogicVariable::getName   const [inline]
+
+ + + + + +
+   + + +

+Get the variable name. +

+

+Returns:
+the name of the variable
+

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

+References _Name.

+

+ + + + +
+ + + + + + + + + +
sint64 NLLOGIC::CLogicVariable::getValue   const [inline]
+
+ + + + + +
+   + + +

+Get the variable value. +

+

+Returns:
+the variable's value
+

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

+References _Value, and sint64.

+

+ + + + +
+ + + + + + + + + +
void NLLOGIC::CLogicVariable::processLogic   [virtual]
+
+ + + + + +
+   + + +

+update the variable. +

+ +

+Definition at line 117 of file logic_variable.cpp.

+

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

+ +

+Reimplemented in NLLOGIC::CLogicCounter. +

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

+References _Name, _Value, _Verbose, NLLOGIC::getXMLProp, and NLLOGIC::xmlCheckNodeName.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicVariable::setName std::string   name [inline]
+
+ + + + + +
+   + + +

+Set the variable name. +

+

+Parameters:
+ + +
name  +is the name of the variable
+
+

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

+References _Name.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicVariable::setValue sint64   value
+
+ + + + + +
+   + + +

+Set the variable value. +

+

+Parameters:
+ + +
value  +is the new value of the variable
+
+

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

+References _Name, _Value, nlinfo, and sint64.

+

+ + + + +
+ + + + + + + + + + +
void NLLOGIC::CLogicVariable::setVerbose bool   b [inline]
+
+ + + + + +
+   + + +

+Set the verbose mode active or inactive. +

+

+Parameters:
+ + + +
varName  +is the name of the variable
b  +is true to activate the verbose mode, false else
+
+

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

+References _Verbose.

+

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

+serial. +

+ +

+Reimplemented in NLLOGIC::CLogicCounter. +

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

+References _Name.

+


Member Data Documentation

+

+ + + + +
+ + +
std::string NLLOGIC::CLogicVariable::_Name [protected] +
+
+ + + + + +
+   + + +

+variable name. +

+ +

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

+Referenced by applyModification, NLLOGIC::CLogicCounter::CLogicCounter, CLogicVariable, getName, NLLOGIC::CLogicCounter::read, read, setName, setValue, NLLOGIC::CLogicCounter::update, NLLOGIC::CLogicCounter::write, and write.

+

+ + + + +
+ + +
sint64 NLLOGIC::CLogicVariable::_Value [protected] +
+
+ + + + + +
+   + + +

+variable value. +

+ +

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

+Referenced by applyModification, NLLOGIC::CLogicCounter::CLogicCounter, CLogicVariable, getValue, NLLOGIC::CLogicCounter::manageRunningMode, NLLOGIC::CLogicCounter::read, read, setValue, and NLLOGIC::CLogicCounter::update.

+

+ + + + +
+ + +
bool NLLOGIC::CLogicVariable::_Verbose [protected] +
+
+ + + + + +
+   + + +

+true if verbose mode is active. +

+ +

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

+Referenced by CLogicVariable, NLLOGIC::CLogicCounter::read, read, and setVerbose.

+


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