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

Instances of DtEntIndependentlyTaskedSearch are used to search the echelon entity structure for ANY entities that are independently tasked. 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 DtEntIndependentlyTaskedSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntIndependentlyTaskedSearch ()
 
virtual ~DtEntIndependentlyTaskedSearch () override
 
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

bool myWarnedOnce
 

Private Member Functions

 DtEntIndependentlyTaskedSearch (const DtEntIndependentlyTaskedSearch &orig)
 
DtEntIndependentlyTaskedSearchoperator= (const DtEntIndependentlyTaskedSearch &orig)
 

Constructor & Destructor Documentation

DtEntIndependentlyTaskedSearch::DtEntIndependentlyTaskedSearch ( )

default constructor

virtual DtEntIndependentlyTaskedSearch::~DtEntIndependentlyTaskedSearch ( )
overridevirtual

destructor

DtEntIndependentlyTaskedSearch::DtEntIndependentlyTaskedSearch ( const DtEntIndependentlyTaskedSearch orig)
private

copy constructor; not implemented

Member Function Documentation

void DtEntIndependentlyTaskedSearch::setWarnedOnce ( bool  b)
inline

References myWarnedOnce.

bool DtEntIndependentlyTaskedSearch::warnedOnce ( ) const
inline

References myWarnedOnce.

virtual bool DtEntIndependentlyTaskedSearch::initializeSearch ( const DtSimulationServices vrfObjectManager)
overrideprotectedvirtual

Function to initialize the search.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntIndependentlyTaskedSearch::inspectEntity ( DtSimObjectReference  entity)
overrideprotectedvirtual

Test any and all entities to find one that is independently tasked.

Reimplemented from DtSimSubordinateSearch.

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

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

assignment operator; not implemented

Member Data Documentation

bool DtEntIndependentlyTaskedSearch::myWarnedOnce
protected

Member variables.

Referenced by setWarnedOnce(), and warnedOnce().


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)