![]() |
VR-Forces 4.0.4 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 DtString &objectName, DtSimManager *simManager) const |
| | |
Static Public Member Functions | |
| static DtEvaluator * | creator () |
| Returns a newly created DtEvalEntUnderFire. | |
class DtEvalEntUnderFire:
Instances of DtEvalEntUnderFire are used to perform the evaluation for a DtCeEntUnderFire conditional expression.
constructor
| virtual DtEvalEntUnderFire::~DtEvalEntUnderFire | ( | ) | [virtual] |
destructor
| DtEvalEntUnderFire::DtEvalEntUnderFire | ( | const DtEvalEntUnderFire & | orig | ) |
copy constructor
| DtEvalEntUnderFire& DtEvalEntUnderFire::operator= | ( | const DtEvalEntUnderFire & | orig | ) |
assignment operator
| virtual DtEvaluator* DtEvalEntUnderFire::clone | ( | ) | [virtual] |
clone operator
Implements DtEvaluator.
| virtual bool DtEvalEntUnderFire::evaluate | ( | DtSimCondExpr * | condExpr, |
| const DtString & | objectName, | ||
| DtSimManager * | simManager | ||
| ) | const [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 DtEvaluator* DtEvalEntUnderFire::creator | ( | ) | [static] |
Returns a newly created DtEvalEntUnderFire.