![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtEvalEntInArea: More...

Public Member Functions | |
| DtEvalEntInArea () | |
| constructor | |
| virtual | ~DtEvalEntInArea () |
| destructor | |
| DtEvalEntInArea (const DtEvalEntInArea &orig) | |
| copy constructor | |
| DtEvalEntInArea & | operator= (const DtEvalEntInArea &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 DtEvalEntInArea. | |
Protected Attributes | |
| bool | myWarnedOnce |
class DtEvalEntInArea:
Instances of DtEvalEntInArea are used to perform the evaluation for a DtCeEntInArea conditional expression. It tests to see if any entities are in a given control area.
constructor
| virtual DtEvalEntInArea::~DtEvalEntInArea | ( | ) | [virtual] |
destructor
| DtEvalEntInArea::DtEvalEntInArea | ( | const DtEvalEntInArea & | orig | ) |
copy constructor
| DtEvalEntInArea& DtEvalEntInArea::operator= | ( | const DtEvalEntInArea & | orig | ) |
assignment operator
| virtual DtEvaluator* DtEvalEntInArea::clone | ( | ) | [virtual] |
clone operator
Implements DtEvaluator.
| virtual bool DtEvalEntInArea::evaluate | ( | DtSimCondExpr * | condExpr, |
| const DtString & | objectName, | ||
| DtSimManager * | simManager | ||
| ) | const [virtual] |
The condExpr passed in must be of type DtCeEntInArea. Checks to see if the entity in the DtCeEntInArea expression is in the control area given in the DtCeEntInArea conditional expression. If it has, returns true. If the modifier flag in the DtCeEntEntInArea expression is true, expands the test to return DtTrue if the entity and/or any of its subordinates is in the area.
Implements DtEvaluator.
| static DtEvaluator* DtEvalEntInArea::creator | ( | ) | [static] |
Returns a newly created DtEvalEntInArea.
bool DtEvalEntInArea::myWarnedOnce [mutable, protected] |