![]() |
VR-Forces 4.7 Class Documentation
|
class DtEvalEntUnderFire: More...

Public Member Functions | |
| DtEvalEntUnderFire () | |
| constructor | |
| virtual | ~DtEvalEntUnderFire () |
| destructor | |
| DtEvalEntUnderFire (const DtEvalEntUnderFire &orig) | |
| copy constructor | |
| DtEvalEntUnderFire & | operator= (const DtEvalEntUnderFire &orig) |
| assignment operator | |
| virtual DtEvaluator * | clone () |
| clone operator | |
| virtual bool | evaluate (DtSimCondExpr *condExpr, const DtUUID &object, DtSimManager *simManager, const DtPlan *=0) const |
| | |
Public Member Functions inherited from DtEvalSimulationObject | |
| DtEvalSimulationObject () | |
| constructor | |
| virtual | ~DtEvalSimulationObject () |
| destructor | |
| DtEvalSimulationObject (const DtEvalSimulationObject &orig) | |
| copy constructor | |
| DtEvalSimulationObject & | operator= (const DtEvalSimulationObject &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. | |
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 DtEvalEntUnderFire. | |
Additional Inherited Members | |
Protected Member Functions inherited from DtEvalSimulationObject | |
| virtual const DtUUID & | initializeObjectToCheck (const DtSimCondExpr *condExpr, const DtUUID &baseUUID, const DtPlan *plan) const |
| Given the UUID that is the object to check, replace with a plan variable if needed. | |
Protected Attributes inherited from DtEvalSimulationObject | |
| DtUUID | mySimulationObject |
| DtUUID | myObjectToCheck |
Static Protected Attributes inherited from DtEvaluator | |
| static DtEvaluatorFactory * | theFactory |
class DtEvalEntUnderFire:
Instances of DtEvalEntUnderFire are used to perform the evaluation for a DtCeEntUnderFire conditional expression.
| DtEvalEntUnderFire::DtEvalEntUnderFire | ( | ) |
constructor
|
virtual |
destructor
| DtEvalEntUnderFire::DtEvalEntUnderFire | ( | const DtEvalEntUnderFire & | orig | ) |
copy constructor
| DtEvalEntUnderFire& DtEvalEntUnderFire::operator= | ( | const DtEvalEntUnderFire & | orig | ) |
assignment operator
|
virtual |
clone operator
Implements DtEvaluator.
|
virtual |
The condExpr passed in must be of type DtCeEntUnderFire. Checks to see if the entity in the DtCeEntUnderFire expression is under fire. If so, it returns true. If the modifier flag in the DtCeEntUnderFire expression is true, expands the test to return DtTrue if the entity and/or any of its subordinates are under fire.
Implements DtEvaluator.
|
static |
Returns a newly created DtEvalEntUnderFire.