VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtEvalMissileApproachWarning Class Reference
Inheritance diagram for DtEvalMissileApproachWarning:
Inheritance graph
[legend]

Public Member Functions

 DtEvalMissileApproachWarning ()
 constructor
virtual ~DtEvalMissileApproachWarning ()
 destructor
 DtEvalMissileApproachWarning (const DtEvalMissileApproachWarning &orig)
 copy constructor
DtEvalMissileApproachWarningoperator= (const DtEvalMissileApproachWarning &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 ()
 Called by the factory to create a new instance.

Protected Member Functions

DtCompositePredicate opposingMissilesPredicate (const DtVrfObject *vrfObject) const
 Generates a composite predicate which consists of.
- 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.

Protected Attributes

DtManagedObjectListConstPtr myOpposingMissilesList
 Shared list of opposing force missiles, setup in evaluate()
- Protected Attributes inherited from DtEvalSimulationObject
DtUUID mySimulationObject
DtUUID myObjectToCheck

Additional Inherited Members

- Static Protected Attributes inherited from DtEvaluator
static DtEvaluatorFactorytheFactory

Constructor & Destructor Documentation

DtEvalMissileApproachWarning::DtEvalMissileApproachWarning ( )

constructor

virtual DtEvalMissileApproachWarning::~DtEvalMissileApproachWarning ( )
virtual

destructor

DtEvalMissileApproachWarning::DtEvalMissileApproachWarning ( const DtEvalMissileApproachWarning orig)

copy constructor

Member Function Documentation

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

assignment operator

virtual DtEvaluator* DtEvalMissileApproachWarning::clone ( )
virtual

clone operator

Implements DtEvaluator.

virtual bool DtEvalMissileApproachWarning::evaluate ( DtSimCondExpr condExpr,
const DtUUID object,
DtSimManager simManager,
const DtPlan = 0 
) const
virtual

The condExpr passed in must be of type DtCeMissileApproachWarning. Gets a managed object list based on the predicate returned by opposingMissilesPredicate and assigns it to myOpposingMissilesList. Each item on the list is tested to see if the distance to the entity named by the objectName parameter is less than the range specified in the DtCeMissileApproachWarning and if one is found it returns true.

Implements DtEvaluator.

static DtEvaluator* DtEvalMissileApproachWarning::creator ( )
static

Called by the factory to create a new instance.

DtCompositePredicate DtEvalMissileApproachWarning::opposingMissilesPredicate ( const DtVrfObject vrfObject) const
protected

Generates a composite predicate which consists of.

Member Data Documentation

DtManagedObjectListConstPtr DtEvalMissileApproachWarning::myOpposingMissilesList
mutableprotected

Shared list of opposing force missiles, setup in evaluate()


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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)