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
DtEntLeftOfLineSearch Class Reference

Instances of DtEntLeftOfLineSearch are used to search the echelon entity structure for ANY entities left of a given phase line. If any are detected the search is terminated. Call the searchBelow() function to do the actual search. Test the result by calling result().

Inheritance diagram for DtEntLeftOfLineSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntLeftOfLineSearch ()
 
 DtEntLeftOfLineSearch (const DtUUID &)
 
virtual ~DtEntLeftOfLineSearch () override
 
virtual const DtUUIDline () const
 
virtual void setLine (const DtUUID &)
 
void setWarnedOnce (bool b)
 
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 myLine
 
DtSimObjectReference myPhaseLine
 
bool myWarnedOnce
 
DtTacticalGraphicSimObjectFacade myTacticalGraphicSimObjectFacade
 

Private Member Functions

 DtEntLeftOfLineSearch (const DtEntLeftOfLineSearch &orig)
 
DtEntLeftOfLineSearchoperator= (const DtEntLeftOfLineSearch &orig)
 

Constructor & Destructor Documentation

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( )

default constructor

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( const DtUUID )
virtual DtEntLeftOfLineSearch::~DtEntLeftOfLineSearch ( )
overridevirtual

destructor

DtEntLeftOfLineSearch::DtEntLeftOfLineSearch ( const DtEntLeftOfLineSearch orig)
private

copy constructor; not implemented

Member Function Documentation

virtual const DtUUID& DtEntLeftOfLineSearch::line ( ) const
virtual

Get the phase line. Was: lineName.

virtual void DtEntLeftOfLineSearch::setLine ( const DtUUID )
virtual

Set the phase line. Was: setLineName.

void DtEntLeftOfLineSearch::setWarnedOnce ( bool  b)
inline
bool DtEntLeftOfLineSearch::warnedOnce ( ) const
inline
virtual bool DtEntLeftOfLineSearch::initializeSearch ( const DtSimulationServices vrfObjectManager)
overrideprotectedvirtual

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

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntLeftOfLineSearch::inspectEntity ( DtSimObjectReference  entity)
overrideprotectedvirtual

Test any and all entities to find one that is left of the line.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntLeftOfLineSearch::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.

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

assignment operator; not implemented

Member Data Documentation

DtUUID DtEntLeftOfLineSearch::myLine
protected

Member variables.

DtSimObjectReference DtEntLeftOfLineSearch::myPhaseLine
protected
bool DtEntLeftOfLineSearch::myWarnedOnce
protected
DtTacticalGraphicSimObjectFacade DtEntLeftOfLineSearch::myTacticalGraphicSimObjectFacade
protected

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)