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

Public Member Functions | |
| DtEvalResourceOp () | |
| constructor | |
| virtual | ~DtEvalResourceOp () |
| destructor | |
| DtEvalResourceOp (const DtEvalResourceOp &orig) | |
| copy constructor | |
| DtEvalResourceOp & | operator= (const DtEvalResourceOp &orig) |
| assignment operator | |
| virtual DtEvaluator * | clone () |
| clone operator | |
| 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. | |
Public Member Functions inherited from DtEvaluator | |
| DtEvaluator () | |
| constructor - condExpr is the conditional expression to be evaluated. | |
| virtual | ~DtEvaluator () |
| destructor | |
| DtEvaluator (const DtEvaluator &orig) | |
| copy constructor | |
| DtEvaluator & | operator= (const DtEvaluator &orig) |
| assignment operator | |
| 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. | |
Static Public Member Functions | |
| static DtEvaluator * | creator () |
| Returns a newly created DtEvalResourceOp. | |
Static Public Member Functions inherited from DtEvaluator | |
| static void | setFactory (DtEvaluatorFactory *factory) |
| Set/get the DtEvaluator class factory. | |
| static DtEvaluatorFactory * | factory () |
| static void | addEvaluatorCreatorFcn (const int intType, DtEvaluatorCreatorFcn fcn) |
| Adds a evaluator creator member function to the evaluator factory. | |
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. | |
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 |