![]() |
VR-Forces 5.0.1 Developer's Guide
|
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.

Public Member Functions | |
| DtEvalEntInArea () | |
| virtual | ~DtEvalEntInArea () |
| DtEvalEntInArea (const DtEvalEntInArea &orig) | |
| DtEvalEntInArea & | operator= (const DtEvalEntInArea &orig) |
| virtual DtEvaluator * | clone () |
| virtual bool | evaluate (DtSimCondExpr *condExpr, DtLocalObject *owner, const DtSimulationServices *simManager, const DtPlan *=0) const |
Public Member Functions inherited from DtEvalSimulationObject | |
| DtEvalSimulationObject () | |
| virtual | ~DtEvalSimulationObject () |
| DtEvalSimulationObject (const DtEvalSimulationObject &orig) | |
| DtEvalSimulationObject & | operator= (const DtEvalSimulationObject &orig) |
| virtual const DtUUID & | simulationObject (const DtSimCondExpr *condExpr) const |
Public Member Functions inherited from DtEvaluator | |
| DtEvaluator () | |
| virtual | ~DtEvaluator () |
| DtEvaluator (const DtEvaluator &orig) | |
| DtEvaluator & | operator= (const DtEvaluator &orig) |
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 Attributes | |
| bool | myWarnedOnce |
Protected Attributes inherited from DtEvalSimulationObject | |
| DtUUID | mySimulationObject |
| DtUUID | myObjectToCheck |
Additional Inherited Members | |
Protected Member Functions inherited from DtEvalSimulationObject | |
| virtual const DtUUID & | initializeObjectToCheck (const DtSimCondExpr *condExpr, const DtUUID &baseUUID, const DtPlan *plan) const |
Static Protected Attributes inherited from DtEvaluator | |
| static DtEvaluatorFactory * | theFactory |
| DtEvalEntInArea::DtEvalEntInArea | ( | ) |
constructor
|
virtual |
destructor
| DtEvalEntInArea::DtEvalEntInArea | ( | const DtEvalEntInArea & | orig | ) |
copy constructor
| DtEvalEntInArea& DtEvalEntInArea::operator= | ( | const DtEvalEntInArea & | orig | ) |
assignment operator
|
virtual |
clone operator
Implements DtEvaluator.
|
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 |
Returns a newly created DtEvalEntInArea.
|
mutableprotected |