![]() |
VR-Forces 4.10 Class Documentation
|

Public Member Functions | |
| DtEvalResourceOp () | |
| constructor More... | |
| virtual | ~DtEvalResourceOp () |
| destructor More... | |
| DtEvalResourceOp (const DtEvalResourceOp &orig) | |
| copy constructor More... | |
| DtEvalResourceOp & | operator= (const DtEvalResourceOp &orig) |
| assignment operator More... | |
| virtual DtEvaluator * | clone () |
| clone operator More... | |
| virtual bool | evaluate (DtSimCondExpr *condExpr, const DtUUID &object, DtSimManager *simManager, const DtPlan *=0) const |
| Evaluate this conditional expression for the entity with the given echelonId, in the context of the given simManager, and return the current result. More... | |
Public Member Functions inherited from DtEvaluator | |
| DtEvaluator () | |
| constructor - condExpr is the conditional expression to be evaluated. More... | |
| virtual | ~DtEvaluator () |
| destructor More... | |
| DtEvaluator (const DtEvaluator &orig) | |
| copy constructor More... | |
| DtEvaluator & | operator= (const DtEvaluator &orig) |
| assignment operator More... | |
| virtual const DtUUID & | simulationObject (const DtSimCondExpr *condExpr) const |
| If there is a simulation object that satisfied the evaluation of this condition then it is returned here. More... | |
Static Public Member Functions | |
| static DtEvaluator * | creator () |
| Returns a newly created DtEvalResourceOp. More... | |
Static Public Member Functions inherited from DtEvaluator | |
| static void | setFactory (DtEvaluatorFactory *factory) |
| Set/get the DtEvaluator class factory. More... | |
| static DtEvaluatorFactory * | factory () |
| static void | addEvaluatorCreatorFcn (const int intType, DtEvaluatorCreatorFcn fcn) |
| Adds a evaluator creator member function to the evaluator factory. More... | |
Protected Member Functions | |
| virtual bool | getResourceValue (const DtCeResourceOperator &ceResourceOp, const DtUUID &uuid, DtSimManager *simManager, DtReal &result) const |
| Get the resource's value relative to the given Plan, return False if the resource value isn't available. More... | |
Protected Attributes | |
| bool | myIsStatePropertyResource |
| bool | myIsUserDefinedResource |
Additional Inherited Members | |
Static Protected Attributes inherited from DtEvaluator | |
| static DtEvaluatorFactory * | theFactory |
| DtEvalResourceOp::DtEvalResourceOp | ( | ) |
constructor
|
virtual |
destructor
| DtEvalResourceOp::DtEvalResourceOp | ( | const DtEvalResourceOp & | orig | ) |
copy constructor
| DtEvalResourceOp& DtEvalResourceOp::operator= | ( | const DtEvalResourceOp & | orig | ) |
assignment operator
|
virtual |
clone operator
Implements DtEvaluator.
|
virtual |
Evaluate this conditional expression for the entity with the given echelonId, in the context of the given simManager, and return the current result.
The condExpr passed in must be of type DtCeResourceOperator. Looks up the entity's resource given in the DtCeResourceOperator conditional expression, and then tests the value of the resource against the given comparison value, using the given comparison operator.
Implements DtEvaluator.
|
static |
Returns a newly created DtEvalResourceOp.
|
protectedvirtual |
Get the resource's value relative to the given Plan, return False if the resource value isn't available.
|
mutableprotected |
|
mutableprotected |