VR-Forces 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 () override
 
void setCombatIdLevel (int i)
 
void setEntity (const DtLocalObject *)
 

Protected Member Functions

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

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 ( )
overridevirtual

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)
overrideprotectedvirtual

Function to initialize the search.

Reimplemented from DtSimSubordinateSearch.

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

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

Reimplemented from DtSimSubordinateSearch.

virtual bool DtCheckEntityIdLevelSearch::inspectEntity ( DtSimObjectReference  entity)
overrideprotectedvirtual

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 Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)