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
DtEntInRangeSearch Class Reference
Inheritance diagram for DtEntInRangeSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntInRangeSearch ()
 
 DtEntInRangeSearch (const DtUUID &area)
 
virtual ~DtEntInRangeSearch () override
 
virtual const DtUUID & target () const
 
virtual void setTarget (const DtUUID &)
 
void setRange (double)
 
double range () const
 
void setCoordinateSystem (const Coordinate_System *cs)
 
const Coordinate_System * coordinateSystem ()
 
void setWarnedOnce (bool)
 
bool warnedOnce () const
 

Protected Member Functions

virtual bool initializeSearch (const DtSimulationServices *vrfObjectManager) override
 
virtual bool inspectEntity (DtSimObjectReference entity) override
 
virtual bool searchSubordinates (DtSimObjectReference pAggEntity, bool excludeDestroyed) override
 

Protected Attributes

DtUUID myTarget
 
double myRange
 
const Coordinate_System * myLocalCS
 
DtSimObjectReference myTargetObject
 
bool myWarnedOnce
 
DtTacticalGraphicSimObjectFacade myTacticalGraphicSimObjectFacade
 

Private Member Functions

 DtEntInRangeSearch (const DtEntInRangeSearch &orig)
 
DtEntInRangeSearch & operator= (const DtEntInRangeSearch &orig)
 

Constructor & Destructor Documentation

DtEntInRangeSearch::DtEntInRangeSearch ( )

default constructor

DtEntInRangeSearch::DtEntInRangeSearch ( const DtUUID &  area)
virtual DtEntInRangeSearch::~DtEntInRangeSearch ( )
overridevirtual

destructor

DtEntInRangeSearch::DtEntInRangeSearch ( const DtEntInRangeSearch &  orig)
private

copy constructor; not implemented

Member Function Documentation

virtual const DtUUID& DtEntInRangeSearch::target ( ) const
virtual

Get the target.

virtual void DtEntInRangeSearch::setTarget ( const DtUUID &  )
virtual

Set the target.

void DtEntInRangeSearch::setRange ( double  d)
inline

References myRange.

double DtEntInRangeSearch::range ( ) const
inline

References myRange.

void DtEntInRangeSearch::setCoordinateSystem ( const Coordinate_System *  cs)
const Coordinate_System* DtEntInRangeSearch::coordinateSystem ( )
void DtEntInRangeSearch::setWarnedOnce ( bool  b)
inline

References myWarnedOnce.

bool DtEntInRangeSearch::warnedOnce ( ) const
inline

References myWarnedOnce.

virtual bool DtEntInRangeSearch::initializeSearch ( const DtSimulationServices *  vrfObjectManager)
overrideprotectedvirtual

Function to initialize the search, it looks up area name so that it won't have to do it for each test.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntInRangeSearch::inspectEntity ( DtSimObjectReference  entity)
overrideprotectedvirtual

Test any and all entities to find one that is in the area.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntInRangeSearch::searchSubordinates ( DtSimObjectReference  pAggEntity,
bool  excludeDestroyed 
)
overrideprotectedvirtual

Controls whether subordinates of a specified pseudo-aggregate are searched. If the "ANY" modifier was specified, it calls the base class version, otherwise it just returns false.

Reimplemented from DtSimSubordinateSearch.

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

assignment operator; not implemented

Member Data Documentation

DtUUID DtEntInRangeSearch::myTarget
protected

Member variables.

double DtEntInRangeSearch::myRange
protected

Referenced by range(), and setRange().

const Coordinate_System* DtEntInRangeSearch::myLocalCS
protected
DtSimObjectReference DtEntInRangeSearch::myTargetObject
protected
bool DtEntInRangeSearch::myWarnedOnce
protected

Referenced by setWarnedOnce(), and warnedOnce().

DtTacticalGraphicSimObjectFacade DtEntInRangeSearch::myTacticalGraphicSimObjectFacade
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)