VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtEvalEntInArea Class Reference

class DtEvalEntInArea: More...

Inheritance diagram for DtEvalEntInArea:
Inheritance graph
[legend]

Public Member Functions

 DtEvalEntInArea ()
 constructor
virtual ~DtEvalEntInArea ()
 destructor
 DtEvalEntInArea (const DtEvalEntInArea &orig)
 copy constructor
DtEvalEntInAreaoperator= (const DtEvalEntInArea &orig)
 assignment operator
virtual DtEvaluatorclone ()
 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
DtEvalSimulationObjectoperator= (const DtEvalSimulationObject &orig)
 assignment operator
virtual const DtUUIDsimulationObject (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
DtEvaluatoroperator= (const DtEvaluator &orig)
 assignment operator

Static Public Member Functions

static DtEvaluatorcreator ()
 Returns a newly created DtEvalEntInArea.

Protected Attributes

bool myWarnedOnce
- Protected Attributes inherited from DtEvalSimulationObject
DtUUID mySimulationObject
DtUUID myObjectToCheck

Additional Inherited Members

- Protected Member Functions inherited from DtEvalSimulationObject
virtual const DtUUIDinitializeObjectToCheck (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.
- Static Protected Attributes inherited from DtEvaluator
static DtEvaluatorFactorytheFactory

Detailed Description

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 & Destructor Documentation

DtEvalEntInArea::DtEvalEntInArea ( )

constructor

virtual DtEvalEntInArea::~DtEvalEntInArea ( )
virtual

destructor

DtEvalEntInArea::DtEvalEntInArea ( const DtEvalEntInArea orig)

copy constructor

Member Function Documentation

DtEvalEntInArea& DtEvalEntInArea::operator= ( const DtEvalEntInArea orig)

assignment operator

virtual DtEvaluator* DtEvalEntInArea::clone ( )
virtual

clone operator

Implements DtEvaluator.

virtual bool DtEvalEntInArea::evaluate ( DtSimCondExpr condExpr,
const DtUUID object,
DtSimManager simManager,
const DtPlan = 0 
) 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.

Member Data Documentation

bool DtEvalEntInArea::myWarnedOnce
mutableprotected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)