1#ifndef COIN_SCXMLCOINEVALUATOR_H
2#define COIN_SCXMLCOINEVALUATOR_H
36#include <Inventor/scxml/ScXMLEvaluator.h>
37#include <Inventor/tools/SbPimplPtr.h>
39class COIN_DLL_API ScXMLCoinEvaluator :
public ScXMLEvaluator {
40 typedef ScXMLEvaluator inherited;
41 SCXML_OBJECT_HEADER(ScXMLCoinEvaluator)
47 ScXMLCoinEvaluator(
void);
48 virtual ~ScXMLCoinEvaluator(
void);
52 virtual ScXMLDataObj * evaluate(
const char * expression)
const;
54 virtual SbBool setAtLocation(
const char * location,
ScXMLDataObj * obj);
55 virtual ScXMLDataObj * locate(
const char * location)
const;
58 void dumpTemporaries(
void);
68 typedef ScXMLEqualsOpExprDataObj inherited;
74 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
80 typedef ScXMLAddOpExprDataObj inherited;
86 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
92 typedef ScXMLSubtractOpExprDataObj inherited;
97 static ScXMLDataObj * createFor(ScXMLDataObj * lhs, ScXMLDataObj * rhs);
100 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
106 typedef ScXMLMultiplyOpExprDataObj inherited;
112 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
118 typedef ScXMLDivideOpExprDataObj inherited;
124 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
128class COIN_DLL_API ScXMLCoinLengthFuncExprDataObj :
public ScXMLExprDataObj {
129 SCXML_OBJECT_HEADER(ScXMLCoinLengthFuncExprDataObj)
130 typedef ScXMLExprDataObj inherited;
135 static ScXMLDataObj * createFor(ScXMLDataObj * obj);
137 ScXMLCoinLengthFuncExprDataObj(
void);
138 ScXMLCoinLengthFuncExprDataObj(ScXMLDataObj * obj);
139 virtual ~ScXMLCoinLengthFuncExprDataObj(
void);
141 void setExpr(ScXMLDataObj * obj);
142 ScXMLDataObj * getExpr(
void)
const {
return this->expr; }
145 virtual SbBool evaluateNow(
ScXMLStateMachine * sm, ScXMLDataObj * & pointer)
const;
Definition SbPimplPtr.h:55
Definition ScXMLCoinEvaluator.h:78
Definition ScXMLCoinEvaluator.h:116
Definition ScXMLCoinEvaluator.h:66
Definition ScXMLCoinEvaluator.h:104
Definition ScXMLCoinEvaluator.h:90
base class for evaluator data objects in the SCXML data module
Definition ScXMLEvaluator.h:77
virtual void clearTemporaryVariables(void)
Definition ScXMLEvaluator.cpp:155
virtual void setStateMachine(ScXMLStateMachine *sm)
Definition ScXMLEvaluator.cpp:134
static void cleanClass(void)
Does the opposite of initClass, deallocates any class specific resources and resets the class to an u...
Definition ScXMLObject.cpp:115
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition ScXMLObject.cpp:102
Manager for processing events and setting states in SCXML structures.
Definition ScXMLStateMachine.h:61