![]() |
VR-Forces 5.0.1 Developer's Guide
|

Public Member Functions | |
| DtEvalResourceOp () | |
| virtual | ~DtEvalResourceOp () |
| DtEvalResourceOp (const DtEvalResourceOp &orig) | |
| DtEvalResourceOp & | operator= (const DtEvalResourceOp &orig) |
| virtual DtEvaluator * | clone () |
| virtual bool | evaluate (DtSimCondExpr *condExpr, DtLocalObject *owner, const DtSimulationServices *simManager, const DtPlan *=0) const |
Public Member Functions inherited from DtEvaluator | |
| DtEvaluator () | |
| virtual | ~DtEvaluator () |
| DtEvaluator (const DtEvaluator &orig) | |
| DtEvaluator & | operator= (const DtEvaluator &orig) |
| virtual const DtUUID & | simulationObject (const DtSimCondExpr *condExpr) const |
Static Public Member Functions | |
| static DtEvaluator * | creator () |
Static Public Member Functions inherited from DtEvaluator | |
| static void | setFactory (DtEvaluatorFactory *factory) |
| static DtEvaluatorFactory * | factory () |
| static void | addEvaluatorCreatorFcn (const int intType, DtEvaluatorCreatorFcn fcn) |
Protected Member Functions | |
| virtual bool | getResourceValue (const DtCeResourceOperator &ceResourceOp, DtLocalObject *owner, const DtSimulationServices *simManager, DtReal &result) const |
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 |