![]() |
VR-Forces 4.1 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 DtString &echelonId, DtSimManager *simManager) 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 | |
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 DtString &echelonId, DtSimManager *simManager, DtReal &result) const |
| Get the resource's value relative to the given Plan, return False if the resource value isn't available. | |
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.