VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtCheckEntityIdLevelSearch Class Reference
Inheritance diagram for DtCheckEntityIdLevelSearch:
Inheritance graph
[legend]

Public Member Functions

 DtCheckEntityIdLevelSearch ()
 
virtual ~DtCheckEntityIdLevelSearch ()
 
void setCombatIdLevel (int i)
 
void setEntity (const DtLocalObject *)
 

Protected Member Functions

virtual bool initializeSearch (const DtSimulationServices *vrfObjectManager)
 
virtual bool inspectEntity (DtLocalObject *entity, DtSimObjectReference objectToCheck)
 
virtual bool inspectEntity (DtSimObjectReference objectToCheck)
 

Protected Attributes

int myCombatIdLevel
 
const DtLocalObjectmyEntity
 

Private Member Functions

 DtCheckEntityIdLevelSearch (const DtCheckEntityIdLevelSearch &orig)
 
DtCheckEntityIdLevelSearchoperator= (const DtCheckEntityIdLevelSearch &orig)
 

Constructor & Destructor Documentation

DtCheckEntityIdLevelSearch::DtCheckEntityIdLevelSearch ( )

default constructor

virtual DtCheckEntityIdLevelSearch::~DtCheckEntityIdLevelSearch ( )
virtual

destructor

DtCheckEntityIdLevelSearch::DtCheckEntityIdLevelSearch ( const DtCheckEntityIdLevelSearch orig)
private

copy constructor; not implemented

Member Function Documentation

void DtCheckEntityIdLevelSearch::setCombatIdLevel ( int  i)
inline

References myCombatIdLevel.

void DtCheckEntityIdLevelSearch::setEntity ( const DtLocalObject o)
inline

References myEntity.

virtual bool DtCheckEntityIdLevelSearch::initializeSearch ( const DtSimulationServices vrfObjectManager)
protectedvirtual

Function to initialize the search.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtCheckEntityIdLevelSearch::inspectEntity ( DtLocalObject entity,
DtSimObjectReference  objectToCheck 
)
protectedvirtual

Test any and all entities to find one that is destroyed.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtCheckEntityIdLevelSearch::inspectEntity ( DtSimObjectReference  entity)
protectedvirtual

Override inspectEntity to do any tests you want to do on base entities that are found in the search. It should return true only if it has found what it is looking for and wants to terminate the search early. By default it simply returns false. It is usually called either because a non-local entity has been found and the default version of inspectRemoteEntity was called, or because a local entity was found and the default version of inspectLocalEntity was called.

Reimplemented from DtSimSubordinateSearch.

DtCheckEntityIdLevelSearch& DtCheckEntityIdLevelSearch::operator= ( const DtCheckEntityIdLevelSearch orig)
private

assignment operator; not implemented

Member Data Documentation

int DtCheckEntityIdLevelSearch::myCombatIdLevel
protected

Referenced by setCombatIdLevel().

const DtLocalObject* DtCheckEntityIdLevelSearch::myEntity
protected

Referenced by setEntity().


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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)