VR-Forces 4.10 Class Documentation
 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
DtEntInAreaSearch Class Reference

Instances of DtEntInAreaSearch are used to search the echelon entity structure for ANY entities inside a given area. More...

Inheritance diagram for DtEntInAreaSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntInAreaSearch ()
 default constructor More...
 
 DtEntInAreaSearch (const DtUUID &area)
 
virtual ~DtEntInAreaSearch ()
 destructor More...
 
virtual const DtUUIDarea () const
 Get the area. More...
 
virtual void setArea (const DtUUID &)
 Set the area. More...
 
void setWarnedOnce (bool)
 
bool warnedOnce () const
 

Protected Member Functions

virtual bool initializeSearch (const DtVrfObjectManager *vrfObjectManager)
 Function to initialize the search, it looks up area name so that it won't have to do it for each test. More...
 
virtual bool inspectEntity (const DtVrfObject &entity)
 Test any and all entities to find one that is in the area. More...
 
virtual bool searchSubordinates (const DtVrfObject &pAggEntity, bool excludeDestroyed)
 Controls whether subordinates of a specified pseudo-aggregate are searched. More...
 

Protected Attributes

DtUUID myArea
 Member variables. More...
 
DtSharedVrfObjectReference myControlArea
 
bool myWarnedOnce
 

Private Member Functions

 DtEntInAreaSearch (const DtEntInAreaSearch &orig)
 copy constructor; not implemented More...
 
DtEntInAreaSearchoperator= (const DtEntInAreaSearch &orig)
 assignment operator; not implemented More...
 

Detailed Description

Instances of DtEntInAreaSearch are used to search the echelon entity structure for ANY entities inside a given area.

If any are detected the search is terminated. Call the searchBelow() function to do the actual search. Test the result by calling result().

Constructor & Destructor Documentation

DtEntInAreaSearch::DtEntInAreaSearch ( )

default constructor

DtEntInAreaSearch::DtEntInAreaSearch ( const DtUUID area)
virtual DtEntInAreaSearch::~DtEntInAreaSearch ( )
virtual

destructor

DtEntInAreaSearch::DtEntInAreaSearch ( const DtEntInAreaSearch orig)
private

copy constructor; not implemented

Member Function Documentation

virtual const DtUUID& DtEntInAreaSearch::area ( ) const
virtual

Get the area.

Was: areaName

virtual void DtEntInAreaSearch::setArea ( const DtUUID )
virtual

Set the area.

Was: setAreaName

void DtEntInAreaSearch::setWarnedOnce ( bool  b)
inline

References myWarnedOnce.

bool DtEntInAreaSearch::warnedOnce ( ) const
inline

References myWarnedOnce.

virtual bool DtEntInAreaSearch::initializeSearch ( const DtVrfObjectManager vrfObjectManager)
protectedvirtual

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 DtEntInAreaSearch::inspectEntity ( const DtVrfObject entity)
protectedvirtual

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

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntInAreaSearch::searchSubordinates ( const DtVrfObject pAggEntity,
bool  excludeDestroyed 
)
protectedvirtual

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.

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

assignment operator; not implemented

Member Data Documentation

DtUUID DtEntInAreaSearch::myArea
protected

Member variables.

DtSharedVrfObjectReference DtEntInAreaSearch::myControlArea
protected
bool DtEntInAreaSearch::myWarnedOnce
protected

Referenced by setWarnedOnce(), and warnedOnce().


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)