![]() |
VR-Forces 5.0.1 Developer's Guide
|
class DtEntAltitudeSearch:
Instances of DtEntAltitudeSearch are used to search the echelon entity structure for ANY entities that might be at a certain altitude. If any are detected the search is terminated. Call the searchBelow() function to do the actual search. Test the result by calling result().

Public Member Functions | |
| DtEntAltitudeSearch () | |
| virtual | ~DtEntAltitudeSearch () |
| void | setOper (const DtString &) |
| const DtString & | oper () const |
| void | setAltitude (double) |
| double | altitude () const |
Public Member Functions inherited from DtSimSubordinateSearch | |
| DtSimSubordinateSearch () | |
| virtual | ~DtSimSubordinateSearch ()=0 |
| bool | search (const DtUUID &search, DtLocalObject *owner, const DtSimulationServices *) |
| virtual const DtString & | modifier () const |
| virtual void | setModifier (const DtString &modifier) |
| virtual bool | searchBelow (DtSimObjectReference entity, bool excludeDestroyed) |
| virtual bool | searchBelow (DtLocalObject *entity, DtSimObjectReference targetOfCheck, bool excludeDestroyed) |
| virtual bool | searchBelow (int iForce, bool excludeDestroyed) |
| virtual bool | result () |
| virtual bool | isTopLevelEntity (const DtString &entity) const |
| virtual bool | isValidEntity (DtSimObjectReference entity) |
| virtual int | forceType (const DtString &entity) const |
| virtual const DtUUID & | simulationObject () const |
Protected Member Functions | |
| virtual bool | initializeSearch (const DtSimulationServices *vrfObjectManager) |
| virtual bool | inspectEntity (DtSimObjectReference entity) |
| virtual bool | searchSubordinates (DtSimObjectReference pAggEntity, bool excludeDestroyed) |
| virtual bool | atAltitude (const DtVector &, double alt, const DtString &oper) const |
Protected Member Functions inherited from DtSimSubordinateSearch | |
| virtual bool | initializeSearch (DtSimObjectReference entity) |
| virtual bool | isForSelfOnly () const |
| virtual bool | inspectEntity (DtLocalObject *entity, DtSimObjectReference targetOfCheck) |
| virtual bool | inspectTopLevelEntity (DtSimObjectReference entity, bool excludeDestroyed) |
| virtual bool | inspectAggregateEntity (DtSimObjectReference entity, bool excludeDestroyed) |
| virtual bool | searchSubtree (DtSimObjectReference entity, bool excludeDestroyed) |
| virtual bool | searchSubtree (DtLocalObject *entity, DtSimObjectReference targetOfCheck, bool excludeDestroyed) |
Protected Attributes | |
| double | myAltitude |
| DtString | myOperator |
Protected Attributes inherited from DtSimSubordinateSearch | |
| DtString | myModifier |
| bool | myAnyFlag |
| bool | myResult |
| DtUUID | mySimulationObject |
| const DtSimulationServices * | mySimulationServices |
Private Member Functions | |
| DtEntAltitudeSearch (const DtEntAltitudeSearch &orig) | |
| DtEntAltitudeSearch & | operator= (const DtEntAltitudeSearch &orig) |
| DtEntAltitudeSearch::DtEntAltitudeSearch | ( | ) |
default constructor
|
virtual |
destructor
|
private |
copy constructor; not implemented
|
inline |
References myOperator.
|
inline |
References myOperator.
|
inline |
References myAltitude.
|
inline |
References myAltitude.
|
protectedvirtual |
Function to initialize the search.
Reimplemented from DtSimSubordinateSearch.
|
protectedvirtual |
Test any and all entities to find one that is at a certain altitude.
Reimplemented from DtSimSubordinateSearch.
|
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.
|
protectedvirtual |
Returns true if the world position given matches the altitude check.
|
private |
assignment operator; not implemented
|
protected |
Referenced by altitude(), and setAltitude().