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

Public Member Functions

 MySearch ()
 
virtual ~MySearch () override
 

Protected Member Functions

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

Additional Inherited Members

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool MySearch::initializeSearch ( DtSimObjectReference  entity)
overrideprotectedvirtual

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)
overrideprotectedvirtual

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 
)
overrideprotectedvirtual

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)