![]() |
VR-Forces Developer's Guide
|
Instances of DtEntLeftOfLineSearch are used to search the echelon entity structure for ANY entities left of a given phase line. 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 | |
| DtEntLeftOfLineSearch () | |
| DtEntLeftOfLineSearch (const DtUUID &) | |
| virtual | ~DtEntLeftOfLineSearch () override |
| virtual const DtUUID & | line () const |
| virtual void | setLine (const DtUUID &) |
| void | setWarnedOnce (bool b) |
| bool | warnedOnce () 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) override |
| virtual bool | inspectEntity (DtSimObjectReference entity) override |
| virtual bool | searchSubordinates (DtSimObjectReference pAggEntity, bool excludeDestroyed) override |
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 | |
| DtUUID | myLine |
| DtSimObjectReference | myPhaseLine |
| bool | myWarnedOnce |
| DtTacticalGraphicSimObjectFacade | myTacticalGraphicSimObjectFacade |
Protected Attributes inherited from DtSimSubordinateSearch | |
| DtString | myModifier |
| bool | myAnyFlag |
| bool | myResult |
| DtUUID | mySimulationObject |
| const DtSimulationServices * | mySimulationServices |
Private Member Functions | |
| DtEntLeftOfLineSearch (const DtEntLeftOfLineSearch &orig) | |
| DtEntLeftOfLineSearch & | operator= (const DtEntLeftOfLineSearch &orig) |
| DtEntLeftOfLineSearch::DtEntLeftOfLineSearch | ( | ) |
default constructor
| DtEntLeftOfLineSearch::DtEntLeftOfLineSearch | ( | const DtUUID & | ) |
|
overridevirtual |
destructor
|
private |
copy constructor; not implemented
|
virtual |
Get the phase line. Was: lineName.
|
virtual |
Set the phase line. Was: setLineName.
|
inline |
|
inline |
|
overrideprotectedvirtual |
Function to initialize the search, it looks up the phase line name so that it won't have to do it for each test.
Reimplemented from DtSimSubordinateSearch.
|
overrideprotectedvirtual |
Test any and all entities to find one that is left of the line.
Reimplemented from DtSimSubordinateSearch.
|
overrideprotectedvirtual |
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.
|
private |
assignment operator; not implemented
|
protected |
Member variables.
|
protected |
|
protected |
|
protected |