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

Public Member Functions | |
| DtEvalEntInArea () | |
| constructor More... | |
| virtual | ~DtEvalEntInArea () |
| destructor More... | |
| DtEvalEntInArea (const DtEvalEntInArea &orig) | |
| copy constructor More... | |
| DtEvalEntInArea & | operator= (const DtEvalEntInArea &orig) |
| assignment operator More... | |
| virtual DtEvaluator * | clone () |
| clone operator More... | |
| virtual bool | evaluate (DtSimCondExpr *condExpr, const DtUUID &object, DtSimManager *simManager, const DtPlan *=0) const |
Public Member Functions inherited from DtEvalSimulationObject | |
| DtEvalSimulationObject () | |
| constructor More... | |
| virtual | ~DtEvalSimulationObject () |
| destructor More... | |
| DtEvalSimulationObject (const DtEvalSimulationObject &orig) | |
| copy constructor More... | |
| DtEvalSimulationObject & | operator= (const DtEvalSimulationObject &orig) |
| assignment operator More... | |
| 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. More... | |
Public Member Functions inherited from DtEvaluator | |
| DtEvaluator () | |
| constructor - condExpr is the conditional expression to be evaluated. More... | |
| virtual | ~DtEvaluator () |
| destructor More... | |
| DtEvaluator (const DtEvaluator &orig) | |
| copy constructor More... | |
| DtEvaluator & | operator= (const DtEvaluator &orig) |
| assignment operator More... | |
Static Public Member Functions | |
| static DtEvaluator * | creator () |
| Returns a newly created DtEvalEntInArea. More... | |
Static Public Member Functions inherited from DtEvaluator | |
| static void | setFactory (DtEvaluatorFactory *factory) |
| Set/get the DtEvaluator class factory. More... | |
| static DtEvaluatorFactory * | factory () |
| static void | addEvaluatorCreatorFcn (const int intType, DtEvaluatorCreatorFcn fcn) |
| Adds a evaluator creator member function to the evaluator factory. More... | |
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 |
| Given the UUID that is the object to check, replace with a plan variable if needed. More... | |
Static Protected Attributes inherited from DtEvaluator | |
| static DtEvaluatorFactory * | theFactory |
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.
| 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 |