VR-Forces 5.0.3 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
MySearch Class Reference
Inheritance diagram for MySearch:
Inheritance graph
[legend]

Public Member Functions

 MySearch ()
 
virtual ~MySearch ()
 

Protected Member Functions

virtual bool initializeSearch (DtSimObjectReference entity)
 
virtual bool inspectEntity (DtSimObjectReference entity)
 
virtual bool searchSubordinates (DtSimObjectReference pAggEntity, bool excludeDestroyed)
 
 MySearch (const MySearch &orig)
 
MySearchoperator= (const MySearch &orig)
 

Additional Inherited Members

Constructor & Destructor Documentation

MySearch::MySearch ( )
virtual MySearch::~MySearch ( )
virtual
MySearch::MySearch ( const MySearch orig)
protected

Member Function Documentation

virtual bool MySearch::initializeSearch ( DtSimObjectReference  entity)
protectedvirtual

Override initializeSearch if you need to do some initialization at the start of the search process. It will only be called once per search before any of the inspect functions are called, and if this function returns false, then the search is canceled. By default it returns true.

Reimplemented from DtSimSubordinateSearch.

virtual bool MySearch::inspectEntity ( DtSimObjectReference  entity)
protectedvirtual

Override inspectEntity to do any tests you want to do on base entities that are found in the search. It should return true only if it has found what it is looking for and wants to terminate the search early. By default it simply returns false. It is usually called either because a non-local entity has been found and the default version of inspectRemoteEntity was called, or because a local entity was found and the default version of inspectLocalEntity was called.

Reimplemented from DtSimSubordinateSearch.

virtual bool MySearch::searchSubordinates ( DtSimObjectReference  entity,
bool  excludeDestroyed 
)
protectedvirtual

SearchSubordinates will call searchSubtree on all the immediate children of a given pseudo aggregate.

Reimplemented from DtSimSubordinateSearch.

MySearch& MySearch::operator= ( const MySearch orig)
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)