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

class DtEntEmbarkationStateChangedSearch:

Instances of DtEntEmbarkationStateChangedSearch are used to search the echelon entity structure for ANY entities that have been embarked/disembarked. 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 DtEntEmbarkationStateChangedSearch:
Inheritance graph
[legend]

Public Member Functions

 DtEntEmbarkationStateChangedSearch ()
 
virtual ~DtEntEmbarkationStateChangedSearch ()
 
void setEmbarkedOn (const DtUUID &)
 
const DtUUIDembarkedOn () const
 

Protected Member Functions

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

Protected Attributes

DtUUID myEmbarkedOn
 

Private Member Functions

 DtEntEmbarkationStateChangedSearch (const DtEntEmbarkationStateChangedSearch &orig)
 
DtEntEmbarkationStateChangedSearchoperator= (const DtEntEmbarkationStateChangedSearch &orig)
 

Constructor & Destructor Documentation

DtEntEmbarkationStateChangedSearch::DtEntEmbarkationStateChangedSearch ( )

default constructor

virtual DtEntEmbarkationStateChangedSearch::~DtEntEmbarkationStateChangedSearch ( )
virtual

destructor

DtEntEmbarkationStateChangedSearch::DtEntEmbarkationStateChangedSearch ( const DtEntEmbarkationStateChangedSearch orig)
private

copy constructor; not implemented

Member Function Documentation

void DtEntEmbarkationStateChangedSearch::setEmbarkedOn ( const DtUUID s)
inline

References myEmbarkedOn.

const DtUUID & DtEntEmbarkationStateChangedSearch::embarkedOn ( ) const
inline

References myEmbarkedOn.

virtual bool DtEntEmbarkationStateChangedSearch::initializeSearch ( const DtSimulationServices vrfObjectManager)
protectedvirtual

Function to initialize the search.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntEmbarkationStateChangedSearch::inspectEntity ( DtSimObjectReference  entity)
protectedvirtual

Test any and all entities to find one that is embarked.

Reimplemented from DtSimSubordinateSearch.

virtual bool DtEntEmbarkationStateChangedSearch::searchSubordinates ( DtSimObjectReference  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.

virtual bool DtEntEmbarkationStateChangedSearch::inspectAggregateEntity ( DtSimObjectReference  entity,
bool  excludeDestroyed 
)
protectedvirtual

Reimplemented from DtSimSubordinateSearch.

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

assignment operator; not implemented

Member Data Documentation

DtUUID DtEntEmbarkationStateChangedSearch::myEmbarkedOn
protected

Referenced by embarkedOn(), and setEmbarkedOn().


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)