VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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
 DtEntInAreaSearch (const DtUUID &area)
virtual ~DtEntInAreaSearch ()
 destructor
virtual const DtUUIDarea () const
 Get the area.
virtual void setArea (const DtUUID &)
 Set the area.
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.
virtual bool inspectEntity (const DtVrfObject &entity)
 Test any and all entities to find one that is in the area.
virtual bool searchSubordinates (const DtVrfObject &pAggEntity)
 Controls whether subordinates of a specified pseudo-aggregate are searched.

Protected Attributes

DtUUID myArea
 Member variables.
DtSharedVrfObjectReference myControlArea
bool myWarnedOnce

Private Member Functions

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

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)
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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)